wok-next view commoncpp2/receipt @ rev 17849

Add gcc49-lib-base
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 24 17:40:10 2015 +0100 (2015-03-24)
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 }