wok view commoncpp2/receipt @ rev 14908

slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 03 17:37:48 2013 +0300 (2013-08-03)
parents bc425cfdaa8a
children 408c87fa22ca
line source
1 # SliTaz package receipt.
3 PACKAGE="commoncpp2"
4 VERSION="1.8.1"
5 CATEGORY="development"
6 SHORT_DESC="A very portable and highly optimized class framework for writing C++ applications."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base gcc-lib-base zlib"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/commoncpp/"
11 WGET_URL="$GNU_MIRROR/commoncpp/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i -e '50 a\#include <sys/stat.h>' inc/cc++/applog.h
18 ./configure \
19 --sysconfdir=/etc \
20 $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }