wok-next view commoncpp2/receipt @ rev 20778

git update: 2.16.2 (Feb-2018) -> 2.17.1 (May-2018)
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Jun 08 09:36:49 2018 +0000 (2018-06-08)
parents 757d032c55c7
children d5aab818505e
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="rcx@zoominternet.net"
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="commoncpp2-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 }