wok-6.x view commoncpp2/receipt @ rev 12965
Up: slitaz-base-files (5.2.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 01 08:32:45 2012 +0200 (2012-06-01) |
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 }