contrib/commoncpp2/Pkgfile
2008-02-23 23:46:25 -04:30

23 lines
746 B
Plaintext

# Description: Portable C++ application framework for threading, sockets, realtime network streaming, persistance, and file access
# URL: http://www.gnu.org/software/commoncpp/
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: libxml2
# Nice to have: hoard
name=commoncpp2
version=1.6.1
release=1
source=(http://ftp.gnu.org/pub/gnu/commoncpp/$name-$version.tar.gz)
build () {
cd $name-$version
sed -i 's|! grep -q "$(libdir)" /etc/ld.so.conf|false|' Makefile.in
export CFLAGS="${CFLAGS//-fstack-protector/}"
export CXXFLAGS="${CXXFLAGS//-fstack-protector/}"
./configure --prefix=/usr
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/info
sed -i s/^Libs:\ /Libs:\ -lz\ / $PKG/usr/lib/pkgconfig/libccext2.pc
}