libmms: build with -fPIC explicitly, bumprev.

This commit is contained in:
Juan RP 2011-01-27 02:24:20 +01:00
parent b62c200260
commit 72b357a996
2 changed files with 14 additions and 1 deletions

View file

@ -5,6 +5,8 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run pkg-config Add_dependency run pkg-config
Add_dependency run glib-devel Add_dependency run glib-devel
Add_dependency run libmms Add_dependency run libmms

View file

@ -1,8 +1,9 @@
# Template file for 'libmms' # Template file for 'libmms'
pkgname=libmms pkgname=libmms
version=0.6 version=0.6
revision=1
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure build_style=custom-install
short_desc="MMS stream protocol library" short_desc="MMS stream protocol library"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=1f894f33b5e0334bd7c75343480bdf3a9cf79232aa92085c03f1a67e7d4ceb9d checksum=1f894f33b5e0334bd7c75343480bdf3a9cf79232aa92085c03f1a67e7d4ceb9d
@ -15,3 +16,13 @@ Add_dependency run glibc
Add_dependency run glib Add_dependency run glib
Add_dependency build pkg-config Add_dependency build pkg-config
Add_dependency build glib-devel Add_dependency build glib-devel
do_build()
{
./configure --prefix=/usr CFLAGS="-fPIC -DPIC" && make ${makejobs}
}
do_install()
{
make DESTDIR=${DESTDIR} install
}