mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
69 lines
1.5 KiB
Bash
69 lines
1.5 KiB
Bash
SUMMARY="Library to read and write Data Matrix barcodes"
|
|
DESCRIPTION="libdmtx is a software library that enables programs to read and \
|
|
write Data Matrix (or DataMatrix) 2D barcodes. It runs on several platforms, \
|
|
and can be accessed by multiple languages."
|
|
HOMEPAGE="https://sourceforge.net/projects/libdmtx/
|
|
https://github.com/dmtx/libdmtx"
|
|
COPYRIGHT="2005-2016 Mike Laughton, Vadim A. Misbakh-Soloviov and others"
|
|
LICENSE="libdmtx v1.0"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/dmtx/libdmtx/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="be0c5275695a732a5f434ded1fcc232aa63b1a6015c00044fe87f3a689b75f2e"
|
|
SOURCE_FILENAME="libdmtx-v$portVersion.tar.gz"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libdmtx$secondaryArchSuffix = $portVersion
|
|
lib:libdmtx$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libdmtx${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libdmtx$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libdmtx$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoreconf
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm $libDir/libdmtx.la
|
|
|
|
prepareInstalledDevelLib libdmtx
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir \
|
|
$manDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|