wok annotate commoncpp2/receipt @ rev 9028

Fixed commoncpp2.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 03 16:21:55 2011 +0000 (2011-03-03)
parents 6fab874a9260
children 60943ee2c8db
rev   line source
rcx@3771 1 # SliTaz package receipt.
rcx@3771 2
rcx@3771 3 PACKAGE="commoncpp2"
slaxemulator@7291 4 VERSION="1.8.1"
rcx@3771 5 CATEGORY="development"
rcx@3771 6 SHORT_DESC="A very portable and highly optimized class framework for writing C++ applications."
rcx@3771 7 MAINTAINER="rcx@zoominternet.net"
pascal@4999 8 DEPENDS="glibc-base gcc-lib-base zlib"
rcx@3771 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
rcx@3771 10 WEB_SITE="http://www.gnu.org/software/commoncpp/"
rcx@6058 11 WGET_URL="$GNU_MIRROR/commoncpp/$TARBALL"
rcx@3771 12
rcx@3771 13 # Rules to configure and make the package.
rcx@3771 14 compile_rules()
rcx@3771 15 {
rcx@3771 16 cd $src
slaxemulator@9028 17 sed -i -e '50 a\#include <sys/stat.h>' inc/cc++/applog.h
rcx@3771 18 ./configure \
slaxemulator@9028 19 --sysconfdir=/etc &&
rcx@3771 20 make &&
slaxemulator@9028 21 make install
rcx@3771 22 }
rcx@3771 23
rcx@3771 24 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3771 25 genpkg_rules()
rcx@3771 26 {
rcx@3771 27 mkdir -p $fs/usr/lib
rcx@3771 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
rcx@3771 29 }