mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
iec16022: added recipe (GCI 2016) (#1010)
Added recipe for iec16022 DataMatrix generation tool and library.
This commit is contained in:
81
media-gfx/iec16022/iec16022-0.2.7.recipe
Normal file
81
media-gfx/iec16022/iec16022-0.2.7.recipe
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user