wok view commoncpp2/receipt @ rev 16916

rePackaging main of "wanted" on Qt4. (s/4.8.4/4.8.6)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Jul 16 03:57:22 2014 +0200 (2014-07-16)
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 }