mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 13:38:52 +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.
77 lines
2.1 KiB
Bash
77 lines
2.1 KiB
Bash
SUMMARY="A Dynamic Universal Music Library"
|
|
DESCRIPTION="DUMB is an IT, XM, S3M and MOD player library"
|
|
HOMEPAGE="http://dumb.sourceforge.net/"
|
|
COPYRIGHT="2001-2005 Ben Davis, Robert J Ohannessian and Julien Cugniere"
|
|
LICENSE="DUMB-0.9.3"
|
|
REVISION="3"
|
|
SOURCE_URI="http://downloads.sourceforge.net/project/dumb/dumb/$portVersion/dumb-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="8d44fbc9e57f3bac9f761c3b12ce102d47d717f0dd846657fb988e0bb5d1ea33"
|
|
SOURCE_URI_2="http://prdownloads.sourceforge.net/dumb/dumb-$portVersion-autotools.tar.gz"
|
|
CHECKSUM_SHA256_2="9e3fa1e0932e00e31f2314cefb3ea0343ee4f850b6a8e6a6a9627a35b2dc0dbd"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
dumb$secondaryArchSuffix = $portVersion
|
|
cmd:dumb2wav$secondaryArchSuffix = $portVersion
|
|
cmd:dumbout$secondaryArchSuffix = $portVersion
|
|
cmd:dumbplay$secondaryArchSuffix = $portVersion
|
|
lib:libaldmb_0.9.3$secondaryArchSuffix = $portVersion compat >= 0.9
|
|
lib:libdumb_0.9.3$secondaryArchSuffix = $portVersion compat >= 0.9
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:liballeg$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
dumb${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libaldmb$secondaryArchSuffix = $portVersion
|
|
devel:libaldmb_0.9.3$secondaryArchSuffix = 0.9.3 compat >= 0.9
|
|
devel:libdumb$secondaryArchSuffix = $portVersion
|
|
devel:libdumb_0.9.3$secondaryArchSuffix = 0.9.3 compat >= 0.9
|
|
"
|
|
REQUIRES_devel="
|
|
dumb$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:liballeg$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p m4
|
|
cp -R ../../sources-2/dumb-0.9.3 ../
|
|
echo 'AC_CONFIG_MACRO_DIR([m4])' >> configure.in
|
|
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am
|
|
libtoolize --force --copy --install
|
|
aclocal -I m4 --warnings=none
|
|
autoconf
|
|
touch NEWS README ChangeLog AUTHORS
|
|
automake --add-missing
|
|
runConfigure --omit-dirs "dataRootDir" ./configure
|
|
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
prepareInstalledDevelLibs libdumb libaldmb libdumb-0.9.3 libaldmb-0.9.3
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
|
|
}
|