wok-next view commoncpp2/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 835b3b8ce6ac |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="commoncpp2"
4 VERSION="1.8.1"
5 CATEGORY="development"
6 SHORT_DESC="A very portable and highly optimized class framework for writing \
7 C++ applications"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.gnu.org/software/commoncpp/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/commoncpp/$TARBALL"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 sed -i -e '50 a\#include <sys/stat.h>' inc/cc++/applog.h
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 commoncpp2)
29 copy @std
30 DEPENDS="glibc-base gcc-lib-base zlib"
31 ;;
32 *-dev)
33 copy @dev
34 ;;
35 esac
36 }