mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
* Referring the current haiku version explicitly is not needed, since the RequiresUpdater takes care of setting the version of Haiku used for building a package.
82 lines
1.5 KiB
Plaintext
82 lines
1.5 KiB
Plaintext
SUMMARY="CDDB access library"
|
|
DESCRIPTION="A library for accessing a CDDB server"
|
|
HOMEPAGE="http://libcddb.sourceforge.net"
|
|
SRC_URI="http://prdownloads.sourceforge.net/libcddb/libcddb-1.3.2.tar.bz2"
|
|
CHECKSUM_SHA256="35ce0ee1741ea38def304ddfe84a958901413aa829698357f0bee5bb8f0a223b"
|
|
REVISION="1"
|
|
ARCHITECTURES="x86 x86_gcc2 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libcddb$secondaryArchSuffix = $portVersion
|
|
cmd:cddb_query$secondaryArchSuffix
|
|
lib:libcddb$secondaryArchSuffix
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libiconv$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:gettext
|
|
cmd:libtool
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
PATCH()
|
|
{
|
|
sed -i "s,AM_CONFIG_HEADER,AC_CONFIG_HEADERS," configure.ac
|
|
}
|
|
|
|
PATCHES="libcddb-$portVersion.patchset"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
automake --add-missing
|
|
autoconf
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
prepareInstalledDevelLibs libcddb
|
|
fixPkgconfig
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
mkdir -p `finddir B_USER_CACHE_DIRECTORY`/.cddbslave
|
|
make check
|
|
}
|
|
|
|
LICENSE="GNU LGPL v2"
|
|
COPYRIGHT="2003-2005 Kris Verbeeck"
|
|
|
|
PROVIDES_devel="
|
|
libcddb${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libcddb$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
libcddb$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|