wok-next view libctpp2/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | df20b2110f7e |
children |
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/"
10 REPOLOGY="ctpp2"
12 TARBALL="ctpp2-$VERSION.tar.gz"
13 WGET_URL="http://ctpp.havoc.ru/download/$TARBALL"
15 BUILD_DEPENDS="cmake"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 mkdir build
20 cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 .. &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libctpp2) copy @std;;
32 *-dev) copy @dev;;
33 esac
34 }