wok-next annotate commoncpp2/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | a7b1395df64a |
children | 835b3b8ce6ac |
rev | line source |
---|---|
al@20459 | 1 # SliTaz package receipt v2. |
rcx@3771 | 2 |
rcx@3771 | 3 PACKAGE="commoncpp2" |
slaxemulator@7291 | 4 VERSION="1.8.1" |
rcx@3771 | 5 CATEGORY="development" |
al@20459 | 6 SHORT_DESC="A very portable and highly optimized class framework for writing \ |
al@20459 | 7 C++ applications" |
rcx@3771 | 8 MAINTAINER="rcx@zoominternet.net" |
pascal@15001 | 9 LICENSE="GPL2" |
al@20459 | 10 WEB_SITE="http://www.gnu.org/software/commoncpp/" |
al@20459 | 11 |
rcx@3771 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rcx@6058 | 13 WGET_URL="$GNU_MIRROR/commoncpp/$TARBALL" |
rcx@3771 | 14 |
al@20459 | 15 SPLIT="commoncpp2-dev" |
pascal@15001 | 16 |
al@20459 | 17 compile_rules() { |
slaxemulator@9028 | 18 sed -i -e '50 a\#include <sys/stat.h>' inc/cc++/applog.h |
al@20534 | 19 |
al@20534 | 20 ./configure $CONFIGURE_ARGS && |
al@20534 | 21 make && |
al@20534 | 22 make install |
rcx@3771 | 23 } |
rcx@3771 | 24 |
al@20459 | 25 genpkg_rules() { |
al@20459 | 26 case $PACKAGE in |
al@20459 | 27 commoncpp2) |
al@20534 | 28 copy @std |
al@20459 | 29 DEPENDS="glibc-base gcc-lib-base zlib" |
al@20459 | 30 ;; |
al@20459 | 31 *-dev) |
al@20534 | 32 copy @dev |
al@20459 | 33 ;; |
al@20459 | 34 esac |
rcx@3771 | 35 } |