mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
74 lines
1.7 KiB
Plaintext
74 lines
1.7 KiB
Plaintext
SUMMARY="libmikmod is a lib for playing mod files"
|
|
DESCRIPTION="libmikmod is a library supporting many formats, including mod, s3m, it, and xm."
|
|
HOMEPAGE="http://mikmod.sourceforge.net"
|
|
SRC_URI="http://sourceforge.net/projects/mikmod/files/libmikmod/3.3.3/libmikmod-3.3.3.tar.gz"
|
|
CHECKSUM_MD5="0e0f9bce8f8e598ca292b41e0ae385c8"
|
|
LICENSE="GNU LGPL v2.1"
|
|
COPYRIGHT="1998-2004 Jean-Paul Mikkers, Jake Stine, Frank Loemker, Steve McIntyre, Peter Amstutz, and Miodrag Vallat."
|
|
REVISION="2"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
libmikmod$secondaryArchSuffix = $portVersion compat >= 3.3
|
|
lib:libmikmod$secondaryArchSuffix = 3.2.0 compat >= 3
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
lib:libsdl$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libsdl$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:make
|
|
"
|
|
|
|
PATCHES="libmikmod-3.3.3.patch"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal --install -I m4
|
|
autoconf
|
|
automake --add-missing
|
|
runConfigure ./configure --enable-sdl
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libmikmod
|
|
fixPkgconfig
|
|
fixDevelopLibDirReferences $binDir/libmikmod-config
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir $binDir/libmikmod-config \
|
|
$dataDir
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
libmikmod${secondaryArchSuffix}_devel = $portVersion
|
|
cmd:libmikmod_config$secondaryArchSuffix
|
|
devel:libmikmod$secondaryArchSuffix = 3.2.0 compat >= 3
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
libmikmod$secondaryArchSuffix == $portVersion base
|
|
"
|