wok-current annotate libctpp2/receipt @ rev 19338
Add libzim & libctpp2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 19 09:33:21 2016 +0200 (2016-07-19) |
parents | |
children | 3244113bcf23 |
rev | line source |
---|---|
pascal@19338 | 1 # SliTaz package receipt. |
pascal@19338 | 2 |
pascal@19338 | 3 PACKAGE="libctpp2" |
pascal@19338 | 4 SOURCE="ctpp2" |
pascal@19338 | 5 VERSION="2.7.1" |
pascal@19338 | 6 CATEGORY="development" |
pascal@19338 | 7 SHORT_DESC="Template engine completely written in C++." |
pascal@19338 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19338 | 9 LICENSE="BSD" |
pascal@19338 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@19338 | 11 WEB_SITE="http://ctpp.havoc.ru/en/" |
pascal@19338 | 12 WGET_URL="http://ctpp.havoc.ru/download/$TARBALL" |
pascal@19338 | 13 |
pascal@19338 | 14 DEPENDS="gcc-lib-base" |
pascal@19338 | 15 BUILD_DEPENDS="cmake" |
pascal@19338 | 16 |
pascal@19338 | 17 # Rules to configure and make the package. |
pascal@19338 | 18 compile_rules() |
pascal@19338 | 19 { |
pascal@19338 | 20 mkdir build |
pascal@19338 | 21 cd build && |
pascal@19338 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
pascal@19338 | 23 make && |
pascal@19338 | 24 make DESTDIR=$DESTDIR install |
pascal@19338 | 25 } |
pascal@19338 | 26 |
pascal@19338 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19338 | 28 genpkg_rules() |
pascal@19338 | 29 { |
pascal@19338 | 30 mkdir -p $fs/usr/lib |
pascal@19338 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
pascal@19338 | 32 cp -a $install/usr/bin $fs/usr |
pascal@19338 | 33 } |