mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
libdmtx, bump version (#4778)
This commit is contained in:
70
media-libs/libdmtx/libdmtx-0.7.5~git.recipe
Normal file
70
media-libs/libdmtx/libdmtx-0.7.5~git.recipe
Normal file
@@ -0,0 +1,70 @@
|
||||
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"
|
||||
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"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
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
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
Copyright 2005-2011 Mike Laughton and others. All rights reserved.
|
||||
Copyright 2005-2016 Mike Laughton, Vadim A. Misbakh-Soloviov and others.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
Reference in New Issue
Block a user