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' # Template file for 'libmikmod'
pkgname=libmikmod pkgname=libmikmod
version=3.1.12 version=3.1.12
revision=1 revision=2
distfiles="${SOURCEFORGE_SITE}/mikmod/$pkgname-$version.tar.gz" distfiles="${SOURCEFORGE_SITE}/mikmod/$pkgname-$version.tar.gz"
build_style=gnu_configure build_style=custom-install
configure_args="--disable-esd"
short_desc="MikMod Sound Library" short_desc="MikMod Sound Library"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=891a2b780306e6ef86e381f459e71a085d4e7f56c970a879d3bf341c01bdfc32 checksum=891a2b780306e6ef86e381f459e71a085d4e7f56c970a879d3bf341c01bdfc32
@ -28,3 +27,15 @@ long_desc="
subpackages="$pkgname-devel" subpackages="$pkgname-devel"
Add_dependency run glibc Add_dependency run glibc
Add_dependency build texinfo Add_dependency build texinfo
do_build()
{
export CFLAGS="$XBPS_CFLAGS -fPIC"
./configure --prefix=/usr --disable-esd
make ${makejobs}
}
do_install()
{
make DESTDIR=${DESTDIR} install
}