From f21b32aebeda43ce3c005c6e95c06339cef967fc Mon Sep 17 00:00:00 2001 From: fbrosson Date: Sun, 3 Jun 2018 11:57:36 +0000 Subject: [PATCH] iec16022: bump to 0.3.0, add debuginfo, simplify BUILD. (#2639) Also update HOMEPAGE and switch SOURCE_URI to tar.xz. --- ...022-0.2.7.recipe => iec16022-0.3.0.recipe} | 41 ++++++++++--------- 1 file changed, 22 insertions(+), 19 deletions(-) rename media-gfx/iec16022/{iec16022-0.2.7.recipe => iec16022-0.3.0.recipe} (54%) diff --git a/media-gfx/iec16022/iec16022-0.2.7.recipe b/media-gfx/iec16022/iec16022-0.3.0.recipe similarity index 54% rename from media-gfx/iec16022/iec16022-0.2.7.recipe rename to media-gfx/iec16022/iec16022-0.3.0.recipe index 1f41ac004..d751404b2 100644 --- a/media-gfx/iec16022/iec16022-0.2.7.recipe +++ b/media-gfx/iec16022/iec16022-0.3.0.recipe @@ -1,27 +1,31 @@ SUMMARY="2D barcode/DataMatrix generator" DESCRIPTION="With iec16022 you can produce 2D barcodes, also known as \ DataMatrix, as defined in ISO/IEC 16022." -HOMEPAGE="https://datenfreihafen.org/projects/iec16022.html" -COPYRIGHT="2006 Stefan Schmidt" +HOMEPAGE="https://rdoeffinger.github.io/" +COPYRIGHT="2006-2010 Stefan Schmidt + 2009-2017 AAISP Development Team" LICENSE="GNU GPL v2" -REVISION="2" -SOURCE_URI="https://github.com/rdoeffinger/iec16022/archive/v$portVersion.tar.gz" -CHECKSUM_SHA256="34f00da5f6c83dd14b2803e5ed0f5310310e452023fe989c59fc5489b78cd33a" -SOURCE_FILENAME="iec16022-$portVersion.tar.gz" +REVISION="1" +SOURCE_URI="https://github.com/rdoeffinger/iec16022/releases/download/v0.3.0/iec16022-$portVersion.tar.xz" +CHECKSUM_SHA256="f36d6472ad1315bf4d0f905b6ce83a811468d90733e758a00c3147b9cdbe33ae" ARCHITECTURES="!x86_gcc2 x86 x86_64" -SECONDARY_ARCHITECTURES="!x86_gcc2 x86" +SECONDARY_ARCHITECTURES="x86" -if [ "$targetArchitecture" != x86_gcc2 ]; then - commandBinDir=$binDir -else +commandSuffix=$secondaryArchSuffix +commandBinDir=$binDir +if [ "$targetArchitecture" = x86_gcc2 ]; then + commandSuffix= commandBinDir=$prefix/bin fi +libVersion="0.1.0" +libVersionCompat="$libVersion compat >= ${libVersion%%.*}" + PROVIDES=" iec16022$secondaryArchSuffix = $portVersion - lib:libiec16022$secondaryArchSuffix = 0.1.0 compat >= 0 - cmd:iec16022 = $portVersion + lib:libiec16022$secondaryArchSuffix = $libVersionCompat + cmd:iec16022$commandSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix @@ -30,8 +34,8 @@ REQUIRES=" " PROVIDES_devel=" - iec16022${secondaryArchSuffix}_devel - devel:libiec16022$secondaryArchSuffix = 0.1.0 compat >= 0 + iec16022${secondaryArchSuffix}_devel = $portVersion + devel:libiec16022$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" iec16022$secondaryArchSuffix == $portVersion base @@ -53,13 +57,12 @@ BUILD_PREREQUIRES=" cmd:make " +defineDebugInfoPackage iec16022$secondaryArchSuffix \ + "$commandBinDir"/iec16022 \ + "$libDir"/libiec16022.so.$libVersion + BUILD() { - aclocal - libtoolize --force - autoheader - automake --add-missing - autoconf runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir make $jobArgs }