summaryrefslogtreecommitdiff
path: root/commoncpp2/Pkgfile
blob: 57da9a1ad3bc8f07d5d700467162d2491dd87a08 (plain)
    1 # Description:	Portable C++ application framework for threading, sockets, realtime network streaming, persistance, and file access
    2 # URL:	http://www.gnu.org/software/commoncpp/
    3 # Maintainer:	Alan Mizrahi, alan at mizrahi dot com dot ve
    4 # Depends on:	libxml2
    5 # Nice to have:	hoard
    6 
    7 name=commoncpp2
    8 version=1.7.3
    9 release=1
   10 source=(http://ftp.gnu.org/pub/gnu/commoncpp/$name-$version.tar.gz cidr-fix.patch)
   11 
   12 build () {
   13 	cd $name-$version
   14 #	sed -i 's|! grep -q "$(libdir)" /etc/ld.so.conf|false|' Makefile.in
   15 #	export CFLAGS="${CFLAGS//-fstack-protector/}"
   16 #	export CXXFLAGS="${CXXFLAGS//-fstack-protector/}"
   17 
   18 	patch -p1 -i $SRC/cidr-fix.patch
   19 	./configure --prefix=/usr
   20 	make
   21 	make DESTDIR=$PKG install
   22 	rm -rf $PKG/usr/share/info
   23 #	sed -i s/^Libs:\ /Libs:\ -lz\ / $PKG/usr/lib/pkgconfig/libccext2.pc
   24 }

Generated by cgit