From 4bd715a9d8d8c03e1e9acaf3887f2fefbbdb09da Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Wed, 27 Nov 2019 19:57:06 +0100 Subject: [PATCH] libnumbertext: bump version. --- ...t-1.0.3.recipe => libnumbertext-1.0.5.recipe} | 16 ++++++++++++++-- ...0.3.patchset => libnumbertext-1.0.5.patchset} | 0 2 files changed, 14 insertions(+), 2 deletions(-) rename app-text/libnumbertext/{libnumbertext-1.0.3.recipe => libnumbertext-1.0.5.recipe} (77%) rename app-text/libnumbertext/patches/{libnumbertext-1.0.3.patchset => libnumbertext-1.0.5.patchset} (100%) diff --git a/app-text/libnumbertext/libnumbertext-1.0.3.recipe b/app-text/libnumbertext/libnumbertext-1.0.5.recipe similarity index 77% rename from app-text/libnumbertext/libnumbertext-1.0.3.recipe rename to app-text/libnumbertext/libnumbertext-1.0.5.recipe index 270ebeb4b..811de01e6 100644 --- a/app-text/libnumbertext/libnumbertext-1.0.3.recipe +++ b/app-text/libnumbertext/libnumbertext-1.0.5.recipe @@ -6,8 +6,9 @@ HOMEPAGE="https://numbertext.org/" COPYRIGHT="2009–2018 László Németh et al." LICENSE="BSD (3-clause)" REVISION="1" -SOURCE_URI="https://github.com/Numbertext/libnumbertext/releases/download/1.0/libnumbertext-1.0.3.tar.xz" -CHECKSUM_SHA256="b52f6dc468a5cc93d572cf28cab88c6c68bc45e59a0f69e9b327327db3e7e5a5" +SOURCE_URI="https://github.com/Numbertext/libnumbertext/archive/$portVersion.tar.gz" +SOURCE_FILENAME="libnumbertext-$portVersion.tar.gz" +CHECKSUM_SHA256="508f259325efc25705e27ca1bafe487aa0b8b0f5cc3bf77cb2d53ce7f119c380" PATCHES="libnumbertext-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 x86_64" @@ -37,15 +38,19 @@ BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoconf cmd:awk cmd:cmp cmd:gcc$secondaryArchSuffix + cmd:libtoolize$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix " BUILD() { + autoreconf -fi runConfigure ./configure make $jobArgs } @@ -54,6 +59,8 @@ INSTALL() { make install + rm $libDir/libnumbertext-1.0.a $libDir/libnumbertext-1.0.la + prepareInstalledDevelLibs \ libnumbertext-1.0 fixPkgconfig @@ -61,3 +68,8 @@ INSTALL() packageEntries devel \ $developDir } + +TEST() +{ + make -k check +} diff --git a/app-text/libnumbertext/patches/libnumbertext-1.0.3.patchset b/app-text/libnumbertext/patches/libnumbertext-1.0.5.patchset similarity index 100% rename from app-text/libnumbertext/patches/libnumbertext-1.0.3.patchset rename to app-text/libnumbertext/patches/libnumbertext-1.0.5.patchset