mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
70 lines
1.5 KiB
Bash
70 lines
1.5 KiB
Bash
SUMMARY="Architecture for Sound PROcessing"
|
|
DESCRIPTION="NASPRO core is the portable runtime library at the bottom of \
|
|
the NASPRO Sound PROcessing Architecture"
|
|
HOMEPAGE="http://naspro.sourceforge.net/"
|
|
COPYRIGHT="2007-2011, NASPRO Development Team"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="1"
|
|
SOURCE_URI="https://downloads.sf.net/naspro/naspro-core-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="cc8ddb02441a5d347ca63a8a2310b1f3b99610bdf76689ed25f417cbf6b154b0"
|
|
SOURCE_DIR="naspro-core-$portVersion"
|
|
PATCHES="naspro-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="?all !x86_gcc2 x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="5.0.2"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
naspro$secondaryArchSuffix = $portVersion
|
|
lib:libnacore$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
naspro${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libnacore$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
naspro$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoreconf
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
defineDebugInfoPackage naspro$secondaryArchSuffix \
|
|
$libDir/libnacore.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/lib*.la
|
|
|
|
prepareInstalledDevelLibs libnacore
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|