wok-stable annotate commoncpp2/receipt @ rev 6616

Fixed mercurial. Need pyconfig.h for mercurial to work. So i added this to python package since pyconfig.h maybe need for more python programs. I also removed all .pyc and .pyo files from python. Removed about 4mb from python by doing that.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 09 20:49:19 2010 +0000 (2010-10-09)
parents 39011a13b555
children 6fab874a9260
rev   line source
rcx@3771 1 # SliTaz package receipt.
rcx@3771 2
rcx@3771 3 PACKAGE="commoncpp2"
rcx@6058 4 VERSION="1.8.0"
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 BUILD_DEPENDS="slitaz-toolchain"
rcx@3771 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
rcx@3771 11 WEB_SITE="http://www.gnu.org/software/commoncpp/"
rcx@6058 12 WGET_URL="$GNU_MIRROR/commoncpp/$TARBALL"
rcx@3771 13
rcx@3771 14 # Rules to configure and make the package.
rcx@3771 15 compile_rules()
rcx@3771 16 {
rcx@3771 17 cd $src
rcx@3771 18
rcx@3771 19 ./configure \
rcx@3771 20 --prefix=/usr \
rcx@3771 21 --sysconfdir=/etc \
rcx@3771 22 --mandir=/usr/share/man \
rcx@3771 23 $CONFIGURE_ARGS &&
rcx@3771 24 make &&
rcx@3771 25 make DESTDIR=$PWD/_pkg install
rcx@3771 26 }
rcx@3771 27
rcx@3771 28 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3771 29 genpkg_rules()
rcx@3771 30 {
rcx@3771 31 mkdir -p $fs/usr/lib
rcx@3771 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
rcx@3771 33 }