wok-next annotate commoncpp2/receipt @ rev 11788
evince: added desktop file, description; clicking help goes to www
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Feb 24 12:04:54 2012 -0800 (2012-02-24) |
parents | bc425cfdaa8a |
children | 408c87fa22ca |
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@10296 | 19 --sysconfdir=/etc \ |
slaxemulator@10296 | 20 $CONFIGURE_ARGS && |
slaxemulator@10296 | 21 make && 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 } |