wok-next diff libctpp2/receipt @ rev 20766
childsplay: up (3.3); tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 04:36:32 2018 +0300 (2018-06-06) |
parents | 8e396fd3bc8c |
children | df20b2110f7e |
line diff
1.1 --- a/libctpp2/receipt Tue Jul 19 09:33:21 2016 +0200 1.2 +++ b/libctpp2/receipt Wed Jun 06 04:36:32 2018 +0300 1.3 @@ -1,33 +1,37 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libctpp2" 1.8 -SOURCE="ctpp2" 1.9 -VERSION="2.7.1" 1.10 +VERSION="2.8.3" 1.11 CATEGORY="development" 1.12 -SHORT_DESC="Template engine completely written in C++." 1.13 +SHORT_DESC="Template engine completely written in C++" 1.14 MAINTAINER="pascal.bellard@slitaz.org" 1.15 LICENSE="BSD" 1.16 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.17 WEB_SITE="http://ctpp.havoc.ru/en/" 1.18 + 1.19 +TARBALL="ctpp2-$VERSION.tar.gz" 1.20 WGET_URL="http://ctpp.havoc.ru/download/$TARBALL" 1.21 1.22 -DEPENDS="gcc-lib-base" 1.23 BUILD_DEPENDS="cmake" 1.24 +SPLIT="libctpp2-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 mkdir build 1.30 - cd build && 1.31 - cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 1.32 + cd build 1.33 + 1.34 + cmake \ 1.35 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.36 + .. && 1.37 make && 1.38 - make DESTDIR=$DESTDIR install 1.39 + make install 1.40 } 1.41 1.42 # Rules to gen a SliTaz package suitable for Tazpkg. 1.43 genpkg_rules() 1.44 { 1.45 - mkdir -p $fs/usr/lib 1.46 - cp -a $install/usr/lib/*.so* $fs/usr/lib/ 1.47 - cp -a $install/usr/bin $fs/usr 1.48 + case $PACKAGE in 1.49 + libctpp2) copy @std;; 1.50 + *-dev) copy @dev;; 1.51 + esac 1.52 }