wok-next annotate libctpp2/receipt @ rev 19471
Up httping (2.5)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Oct 28 21:15:17 2016 +0100 (2016-10-28) |
parents | |
children | a0bea82010d7 |
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 } |