wok-current view commoncpp2/receipt @ rev 14805
Up slitaz-doc (4.4), ssfs (1.1), tazdrop (5.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 17 09:28:07 2013 +0200 (2013-07-17) |
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 }