wok-6.x view libctpp2/receipt @ rev 21874

facter: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 28 11:31:06 2019 +0200 (2019-09-28)
parents 3244113bcf23
children 4ce52a0b72fd
line source
1 # SliTaz package receipt.
3 PACKAGE="libctpp2"
4 SOURCE="ctpp2"
5 VERSION="2.8.3"
6 CATEGORY="development"
7 SHORT_DESC="Template engine completely written in C++."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://web.archive.org/web/20180803011303/http://ctpp.havoc.ru/en/"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://ctpp.havoc.ru/download/$TARBALL"
15 DEPENDS="gcc-lib-base"
16 BUILD_DEPENDS="cmake"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build
22 cd build &&
23 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
24 make -j 1 &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib/
34 cp -a $install/usr/bin $fs/usr
35 }