wok-next annotate commoncpp2/receipt @ rev 20594

xcursor-obsidian: update wget URL.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Apr 16 01:07:29 2018 +0300 (2018-04-16)
parents 757d032c55c7
children d5aab818505e
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@20569 21 fix libtool &&
al@20534 22 make &&
al@20534 23 make install
rcx@3771 24 }
rcx@3771 25
al@20459 26 genpkg_rules() {
al@20459 27 case $PACKAGE in
al@20459 28 commoncpp2)
al@20534 29 copy @std
al@20459 30 DEPENDS="glibc-base gcc-lib-base zlib"
al@20459 31 ;;
al@20459 32 *-dev)
al@20534 33 copy @dev
al@20459 34 ;;
al@20459 35 esac
rcx@3771 36 }