2009-12-25 21:39:34 +00:00
|
|
|
# Template file for 'libmikmod'
|
|
|
|
pkgname=libmikmod
|
|
|
|
version=3.1.12
|
2011-07-03 14:52:53 +00:00
|
|
|
revision=2
|
2009-12-25 21:39:34 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/mikmod/$pkgname-$version.tar.gz"
|
2011-07-03 14:52:53 +00:00
|
|
|
build_style=custom-install
|
2009-12-25 21:39:34 +00:00
|
|
|
short_desc="MikMod Sound Library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=891a2b780306e6ef86e381f459e71a085d4e7f56c970a879d3bf341c01bdfc32
|
|
|
|
long_desc="
|
|
|
|
The MikMod sound library is an excellent way for a programmer to
|
|
|
|
add music and sound effects to an application. It is a powerful
|
|
|
|
and flexible library, with a simple and easy-to-learn API.
|
|
|
|
|
|
|
|
Besides, the library is very portable and runs under a lot of
|
|
|
|
Unices, as well as under OS/2, MacOS and Windows. Third party
|
|
|
|
individuals also maintain ports on other systems, including MS-DOS,
|
|
|
|
and BeOS.
|
|
|
|
|
|
|
|
MikMod is able to play a wide range of module formats, as well as
|
|
|
|
digital sound files. It can take advantage of particular features
|
|
|
|
of your system, such as sound redirection over the network. And
|
|
|
|
due to its modular nature, the library can be extended to support
|
|
|
|
more sound or module formats, as well as new hardware or other
|
|
|
|
sound output capabilities, as they appear."
|
|
|
|
|
|
|
|
subpackages="$pkgname-devel"
|
|
|
|
Add_dependency run glibc
|
2011-06-30 10:38:14 +00:00
|
|
|
Add_dependency build texinfo
|
2011-07-03 14:52:53 +00:00
|
|
|
|
|
|
|
do_build()
|
|
|
|
{
|
|
|
|
export CFLAGS="$XBPS_CFLAGS -fPIC"
|
|
|
|
./configure --prefix=/usr --disable-esd
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
}
|