libmikmod: build with -fPIC, bumprev.

This commit is contained in:
Juan RP 2011-07-03 16:52:53 +02:00
parent 3e7cb6bdb0
commit b1a5c3ebe8

View file

@ -1,10 +1,9 @@
# Template file for 'libmikmod'
pkgname=libmikmod
version=3.1.12
revision=1
revision=2
distfiles="${SOURCEFORGE_SITE}/mikmod/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-esd"
build_style=custom-install
short_desc="MikMod Sound Library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=891a2b780306e6ef86e381f459e71a085d4e7f56c970a879d3bf341c01bdfc32
@ -28,3 +27,15 @@ long_desc="
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
}