wok-6.x annotate commoncpp2/receipt @ rev 18718

Up: tazpkg(890), cookutils(788)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 17 15:58:11 2015 +0200 (2015-12-17)
parents 60943ee2c8db
children 71360a13cd94
rev   line source
rcx@3771 1 # SliTaz package receipt.
rcx@3771 2
rcx@3771 3 PACKAGE="commoncpp2"
slaxemulator@7291 4 VERSION="1.8.1"
rcx@3771 5 CATEGORY="development"
rcx@3771 6 SHORT_DESC="A very portable and highly optimized class framework for writing C++ applications."
rcx@3771 7 MAINTAINER="rcx@zoominternet.net"
pascal@15001 8 LICENSE="GPL2"
rcx@3771 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
rcx@3771 10 WEB_SITE="http://www.gnu.org/software/commoncpp/"
rcx@6058 11 WGET_URL="$GNU_MIRROR/commoncpp/$TARBALL"
rcx@3771 12
pascal@15001 13 DEPENDS="glibc-base gcc-lib-base zlib"
pascal@15001 14
rcx@3771 15 # Rules to configure and make the package.
rcx@3771 16 compile_rules()
rcx@3771 17 {
rcx@3771 18 cd $src
slaxemulator@9028 19 sed -i -e '50 a\#include <sys/stat.h>' inc/cc++/applog.h
rcx@3771 20 ./configure \
slaxemulator@10296 21 --sysconfdir=/etc \
slaxemulator@10296 22 $CONFIGURE_ARGS &&
slaxemulator@10296 23 make && make install
rcx@3771 24 }
rcx@3771 25
rcx@3771 26 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3771 27 genpkg_rules()
rcx@3771 28 {
rcx@3771 29 mkdir -p $fs/usr/lib
pascal@15001 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
rcx@3771 31 }