2006-11-06 11:17:47 -04:00
|
|
|
# Description: Portable C++ application framework for threading, sockets, realtime network streaming, persistance, and file access
|
2008-02-23 23:46:25 -04:30
|
|
|
# URL: http://www.gnu.org/software/commoncpp/
|
2006-11-06 11:17:47 -04:00
|
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
|
|
# Depends on: libxml2
|
|
|
|
# Nice to have: hoard
|
|
|
|
|
|
|
|
name=commoncpp2
|
2009-06-02 20:07:04 +09:00
|
|
|
version=1.7.3
|
2007-08-15 18:14:31 -04:00
|
|
|
release=1
|
2010-11-05 15:26:23 +09:00
|
|
|
source=(http://ftp.gnu.org/pub/gnu/commoncpp/$name-$version.tar.gz cidr-fix.patch)
|
2006-11-06 11:17:47 -04:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2009-06-02 20:07:04 +09:00
|
|
|
# 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 15:26:23 +09:00
|
|
|
|
|
|
|
patch -p1 -i $SRC/cidr-fix.patch
|
2006-11-06 11:17:47 -04:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2008-02-23 23:46:25 -04:30
|
|
|
rm -rf $PKG/usr/share/info
|
2009-06-02 20:07:04 +09:00
|
|
|
# sed -i s/^Libs:\ /Libs:\ -lz\ / $PKG/usr/lib/pkgconfig/libccext2.pc
|
2006-11-06 11:17:47 -04:00
|
|
|
}
|