wok view libctpp2/receipt @ rev 19370

ppp: remove pppnc (done by pppssh)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 09 11:14:54 2016 +0200 (2016-08-09)
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 }