wok-current diff libctpp2/receipt @ rev 19401

memtest: DOS shutdown (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 03 13:03:50 2016 +0200 (2016-09-03)
parents
children 3244113bcf23
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libctpp2/receipt	Sat Sep 03 13:03:50 2016 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libctpp2"
     1.7 +SOURCE="ctpp2"
     1.8 +VERSION="2.7.1"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="Template engine completely written in C++."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="BSD"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://ctpp.havoc.ru/en/"
    1.15 +WGET_URL="http://ctpp.havoc.ru/download/$TARBALL"
    1.16 +
    1.17 +DEPENDS="gcc-lib-base"
    1.18 +BUILD_DEPENDS="cmake"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	mkdir build
    1.24 +	cd build &&
    1.25 +	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib
    1.34 +	cp -a $install/usr/lib/*.so* $fs/usr/lib/
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +}