updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / libpcl / PKGBUILD
blob8c1ac5cf056ca342675820df3f44acc2f6b88972
1 pkgname=libpcl
2 _libname=pcl
3 pkgver=1.12
4 pkgrel=1
5 pkgdesc="The Portable Coroutine Library (PCL) implements the low level functionality for coroutines"
6 url="http://xmailserver.org/libpcl.html"
7 arch=('i686' 'x86_64')
8 #depends=('')
9 source=("http://xmailserver.org/$_libname-$pkgver.tar.gz")
10 license="GPLv2"
11 md5sums=('816d394743d8ab1b3e20af1efebb093d')
13 build() {
14   cd $startdir/src/$_libname-$pkgver
16   # remove hardening options from CFLAGS for building libraries
17   CFLAGS=${CFLAGS/-fstack-protector/}
18   CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/}
20   ./configure --prefix=/usr
21   make || return 1
22   make PREFIX=$startdir/pkg/usr DESTDIR=$startdir/pkg install
24