wok-next view commoncpp2/receipt @ rev 16749
Up: firefox-official (30.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jun 15 00:39:34 2014 +0200 (2014-06-15) |
parents | 60943ee2c8db |
children | a7b1395df64a |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/commoncpp/"
11 WGET_URL="$GNU_MIRROR/commoncpp/$TARBALL"
13 DEPENDS="glibc-base gcc-lib-base zlib"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i -e '50 a\#include <sys/stat.h>' inc/cc++/applog.h
20 ./configure \
21 --sysconfdir=/etc \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }