wok-current view libctpp2/receipt @ rev 21245

updated libjson-c and libjson-c-dev (0.12 -> 0.13.1)
author Hans-G?nter Theisgen
date Thu Apr 11 15:39:08 2019 +0100 (2019-04-11)
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 }