wok-next annotate commoncpp2/receipt @ rev 7671
Up: xorg-resourceproto to 1.1.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Dec 16 16:10:21 2010 +0000 (2010-12-16) |
parents | 08b8d9c3741d |
children | bc425cfdaa8a |
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 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 } |