# Template file for 'libmikmod' pkgname=libmikmod version=3.1.12 revision=2 distfiles="${SOURCEFORGE_SITE}/mikmod/$pkgname-$version.tar.gz" build_style=custom-install short_desc="MikMod Sound Library" maintainer="Juan RP " 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 Add_dependency build texinfo do_build() { export CFLAGS="$XBPS_CFLAGS -fPIC" ./configure --prefix=/usr --disable-esd make ${makejobs} } do_install() { make DESTDIR=${DESTDIR} install }