mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libdmtx: bump version
This commit is contained in:
@@ -1,70 +0,0 @@
|
||||
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/"
|
||||
COPYRIGHT="2005-2011 Mike Laughton"
|
||||
LICENSE="libdmtx v1.0"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/libdmtx/libdmtx-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="686bcfb44e50b96345aa53f41e285f2118a2cf87a333b69b74165a2e7ddca492"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 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:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
rm $libDir/libdmtx.la
|
||||
|
||||
prepareInstalledDevelLib libdmtx
|
||||
fixPkgconfig
|
||||
|
||||
if [ -z "$secondaryArchSuffix" ]; then
|
||||
maybe_manDir_man3=$manDir/man3
|
||||
else
|
||||
maybe_manDir_man3=
|
||||
rm -rf $manDir/man3
|
||||
fi
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$maybe_manDir_man3
|
||||
rmdir $manDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
@@ -7,11 +7,9 @@ HOMEPAGE="https://sourceforge.net/projects/libdmtx/
|
||||
COPYRIGHT="2005-2016 Mike Laughton, Vadim A. Misbakh-Soloviov and others"
|
||||
LICENSE="libdmtx v1.0"
|
||||
REVISION="1"
|
||||
srcGitRev="580ca93b42ce66f00695598b3a42cc0dcdc0414b"
|
||||
SOURCE_URI="https://github.com/dmtx/libdmtx/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="313ab79b3f53f0fccc677881b1c7876bcba73bb5f8400d6a4caf9cb74adf364e"
|
||||
SOURCE_FILENAME="libdmtx-v$portVersion-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="libdmtx-$srcGitRev"
|
||||
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"
|
||||
Reference in New Issue
Block a user