wok-next view commoncpp2/receipt @ rev 21721

created recipes for efivar and efibootmgr
author Hans-G?nter Theisgen
date Tue Sep 01 10:09:15 2020 +0100 (2020-09-01)
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 }