wok-current view libctpp2/receipt @ rev 19742

lua-dev: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 18 14:00:56 2017 +0100 (2017-02-18)
parents
children 3244113bcf23
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 }