mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
67 lines
1.6 KiB
Bash
67 lines
1.6 KiB
Bash
SUMMARY="A library for playing MOD files"
|
|
DESCRIPTION="libmikmod supports many formats, including mod, s3m, it, and xm."
|
|
HOMEPAGE="http://mikmod.sourceforge.net"
|
|
COPYRIGHT="1998-2004 Jean-Paul Mikkers, Jake Stine, Frank Loemker, Steve \
|
|
McIntyre, Peter Amstutz, and Miodrag Vallat."
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="1"
|
|
SOURCE_URI="http://sourceforge.net/projects/mikmod/files/libmikmod/$portVersion/libmikmod-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="4acf6634a477d8b95f18b55a3e2e76052c149e690d202484e8b0ac7589cf37a2"
|
|
#PATCHES="libmikmod-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libmikmod$secondaryArchSuffix = $portVersion compat >= 3.3
|
|
lib:libmikmod$secondaryArchSuffix = 3.3.0 compat >= 3
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
lib:libsdl$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libmikmod${secondaryArchSuffix}_devel = $portVersion
|
|
cmd:libmikmod_config$secondaryArchSuffix
|
|
devel:libmikmod$secondaryArchSuffix = 3.3.0 compat >= 3
|
|
"
|
|
REQUIRES_devel="
|
|
libmikmod$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libsdl$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure --enable-sdl
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libmikmod
|
|
fixPkgconfig
|
|
fixDevelopLibDirReferences $binDir/libmikmod-config
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir $binDir/libmikmod-config \
|
|
$dataDir
|
|
}
|