# SliTaz package receipt. PACKAGE="commoncpp2" VERSION="1.8.1" CATEGORY="development" SHORT_DESC="A very portable and highly optimized class framework for writing C++ applications." MAINTAINER="rcx@zoominternet.net" DEPENDS="glibc-base gcc-lib-base zlib" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/commoncpp/" WGET_URL="$GNU_MIRROR/commoncpp/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src sed -i -e '50 a\#include ' inc/cc++/applog.h ./configure \ --sysconfdir=/etc \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/lib/*.so* $fs/usr/lib }