wok-next view libctpp2/receipt @ rev 19391

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