wok-6.x view commoncpp2/receipt @ rev 17905

Up: tazusb tazlito
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Apr 04 21:58:38 2015 +0200 (2015-04-04)
parents 60943ee2c8db
children 71360a13cd94
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 }