contrib/commoncpp2/Pkgfile

25 lines
800 B
Plaintext
Raw Normal View History

2006-11-06 16:17:47 +01:00
# Description: Portable C++ application framework for threading, sockets, realtime network streaming, persistance, and file access
# URL: http://www.gnu.org/software/commoncpp/
2006-11-06 16:17:47 +01:00
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: libxml2
# Nice to have: hoard
name=commoncpp2
version=1.7.3
2007-08-16 00:14:31 +02:00
release=1
2010-11-05 07:26:23 +01:00
source=(http://ftp.gnu.org/pub/gnu/commoncpp/$name-$version.tar.gz cidr-fix.patch)
2006-11-06 16:17:47 +01:00
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/}"
2010-11-05 07:26:23 +01:00
patch -p1 -i $SRC/cidr-fix.patch
2006-11-06 16:17:47 +01:00
./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
2006-11-06 16:17:47 +01:00
}