mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
iec16022: bump to 0.3.0, add debuginfo, simplify BUILD. (#2639)
Also update HOMEPAGE and switch SOURCE_URI to tar.xz.
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user