mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libexif, add libVersion(Compat), add defineDebugInfoPackage (#2925)
This commit is contained in:
committed by
waddlesplash
parent
c5c72ebe76
commit
3e1771eda2
@@ -9,7 +9,7 @@ COPYRIGHT="2012 Lutz Mueller
|
||||
Hubert Figuiere
|
||||
"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://sf.net/projects/libexif/files/libexif/0.6.21/libexif-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="edb7eb13664cf950a6edd132b75e99afe61c5effe2f16494e6d27bc404b287bf"
|
||||
if [ $effectiveTargetArchitecture = x86_gcc2 ]; then
|
||||
@@ -19,9 +19,12 @@ fi
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion=12.3.3
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libexif$secondaryArchSuffix = $portVersion
|
||||
lib:libexif$secondaryArchSuffix = 12.3.3 compat >= 12
|
||||
lib:libexif$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -31,7 +34,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libexif${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libexif$secondaryArchSuffix = 12.3.3 compat >= 12
|
||||
devel:libexif$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libexif$secondaryArchSuffix == $portVersion base
|
||||
@@ -51,6 +54,9 @@ BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libexif$secondaryArchSuffix \
|
||||
"$libDir"/libexif.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
@@ -62,11 +68,11 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/libexif.la
|
||||
rm "$libDir"/libexif.la
|
||||
|
||||
prepareInstalledDevelLib libexif
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
"$developDir"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user