wok-next view libctpp2/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | 8e396fd3bc8c |
children | df20b2110f7e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libctpp2"
4 VERSION="2.8.3"
5 CATEGORY="development"
6 SHORT_DESC="Template engine completely written in C++"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://ctpp.havoc.ru/en/"
11 TARBALL="ctpp2-$VERSION.tar.gz"
12 WGET_URL="http://ctpp.havoc.ru/download/$TARBALL"
14 BUILD_DEPENDS="cmake"
15 SPLIT="libctpp2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build
21 cd build
23 cmake \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 .. &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 libctpp2) copy @std;;
35 *-dev) copy @dev;;
36 esac
37 }