wok view libctpp2/receipt @ rev 21160

Up ufraw (0.22)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 31 15:04:44 2019 +0200 (2019-03-31)
parents 8e396fd3bc8c
children 510eca46e352
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="https://web.archive.org/web/20180803011303/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 }