wok-next view libctpp2/receipt @ rev 20883

Check Repology info from h* to l* packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 11 02:06:34 2018 +0300 (2018-07-11)
parents a0bea82010d7
children d5aab818505e
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="libctpp2-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build
22 cd build
24 cmake \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 .. &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 libctpp2) copy @std;;
36 *-dev) copy @dev;;
37 esac
38 }