From d08b335465d66bcd610ab850bc8bbc18b46199cf Mon Sep 17 00:00:00 2001 From: Tudor Nazarie Date: Mon, 9 Jan 2017 20:05:21 +0200 Subject: [PATCH] iec16022: added recipe (GCI 2016) (#1010) Added recipe for iec16022 DataMatrix generation tool and library. --- media-gfx/iec16022/iec16022-0.2.7.recipe | 81 ++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 media-gfx/iec16022/iec16022-0.2.7.recipe diff --git a/media-gfx/iec16022/iec16022-0.2.7.recipe b/media-gfx/iec16022/iec16022-0.2.7.recipe new file mode 100644 index 000000000..dac39390b --- /dev/null +++ b/media-gfx/iec16022/iec16022-0.2.7.recipe @@ -0,0 +1,81 @@ +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" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="https://github.com/rdoeffinger/iec16022/archive/v$portVersion.tar.gz" +CHECKSUM_SHA256="34f00da5f6c83dd14b2803e5ed0f5310310e452023fe989c59fc5489b78cd33a" +SOURCE_FILENAME="iec16022-$portVersion.tar.gz" + +ARCHITECTURES="!x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="!x86_gcc2 x86" + +if [ "$targetArchitecture" != x86_gcc2 ]; then + commandBinDir=$binDir +else + commandBinDir=$prefix/bin +fi + +PROVIDES=" + iec16022$secondaryArchSuffix = $portVersion + lib:libiec16022$secondaryArchSuffix = 0.1.0 compat >= 0 + cmd:iec16022 = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libpopt$secondaryArchSuffix + lib:libz$secondaryArchSuffix + " + +PROVIDES_devel=" + iec16022${secondaryArchSuffix}_devel + devel:libiec16022$secondaryArchSuffix = 0.1.0 compat >= 0 + " +REQUIRES_devel=" + iec16022$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libpopt$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoconf + cmd:autoheader + cmd:automake + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtoolize$secondaryArchSuffix + cmd:make + " + +BUILD() +{ + aclocal + libtoolize --force + autoheader + automake --add-missing + autoconf + runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir + make $jobArgs +} + +INSTALL() +{ + make install + rm $libDir/libiec16022.la + + prepareInstalledDevelLib libiec16022 + fixPkgconfig + + packageEntries devel $developDir +} + +TEST() +{ + make check +}