mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
82 lines
1.7 KiB
Bash
82 lines
1.7 KiB
Bash
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
|
|
}
|