wok-next annotate commoncpp2/receipt @ rev 15668
Up alien 8.89
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 17 21:37:55 2013 +0100 (2013-12-17) |
parents | 60943ee2c8db |
children | a7b1395df64a |
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@15001 | 8 LICENSE="GPL2" |
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 |
pascal@15001 | 13 DEPENDS="glibc-base gcc-lib-base zlib" |
pascal@15001 | 14 |
rcx@3771 | 15 # Rules to configure and make the package. |
rcx@3771 | 16 compile_rules() |
rcx@3771 | 17 { |
rcx@3771 | 18 cd $src |
slaxemulator@9028 | 19 sed -i -e '50 a\#include <sys/stat.h>' inc/cc++/applog.h |
rcx@3771 | 20 ./configure \ |
slaxemulator@10296 | 21 --sysconfdir=/etc \ |
slaxemulator@10296 | 22 $CONFIGURE_ARGS && |
slaxemulator@10296 | 23 make && make install |
rcx@3771 | 24 } |
rcx@3771 | 25 |
rcx@3771 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3771 | 27 genpkg_rules() |
rcx@3771 | 28 { |
rcx@3771 | 29 mkdir -p $fs/usr/lib |
pascal@15001 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
rcx@3771 | 31 } |