mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libsigc++ (1.2): fix BUILD_PREREQUIRES, add debuginfo & TEST.
This commit is contained in:
@@ -8,16 +8,20 @@ has an ease of use unmatched by other C++ callback libraries."
|
||||
HOMEPAGE="http://libsigc.sourceforge.net/stable.shtml"
|
||||
COPYRIGHT="2002-2005 The libsigc++ Development Team"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://ftp.gnome.org/pub/GNOME/sources/libsigc++/1.2/libsigc++-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c995a4623d9f71455d8c7d62307a13e68e0f8313f47adb7221421455bbdfcb98"
|
||||
PATCHES="libsigc++-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2"
|
||||
|
||||
libVersion="5.0.7"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libsigc++$secondaryArchSuffix = $portVersion
|
||||
lib:libsigc_1.2$secondaryArchSuffix = 0.0.0 compat = 0
|
||||
lib:libsigc_1.2$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -25,7 +29,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libsigc++${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsigc_1.2$secondaryArchSuffix = 0.0.0 compat = 0
|
||||
devel:libsigc_1.2$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsigc++$secondaryArchSuffix == $portVersion base
|
||||
@@ -35,12 +39,17 @@ BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libsigc++$secondaryArchSuffix \
|
||||
"$libDir"/libsigc-1.2.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
@@ -62,3 +71,8 @@ INSTALL()
|
||||
|
||||
packageEntries devel $relativeDevelopDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user