wok view libctpp2/receipt @ rev 21011

updated gtklife (5.1 -> 5.2)
author Hans-G?nter Theisgen
date Sat Mar 09 15:17:33 2019 +0100 (2019-03-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 }