contrib/commoncpp2/Pkgfile
2010-11-05 15:26:23 +09:00

25 lines
800 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.7.3
release=1
source=(http://ftp.gnu.org/pub/gnu/commoncpp/$name-$version.tar.gz cidr-fix.patch)
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/}"
patch -p1 -i $SRC/cidr-fix.patch
./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
}