wok-next annotate libctpp2/receipt @ rev 20872

perl-texi2html -> texi2html (because it don't contain Perl modules, and not exists on the (meta)cpan, and old, and...); gcompris: up (11.12 -> 17.05)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 04 02:05:23 2018 +0300 (2018-07-04)
parents 8e396fd3bc8c
children df20b2110f7e
rev   line source
al@19910 1 # SliTaz package receipt v2.
pascal@19338 2
pascal@19338 3 PACKAGE="libctpp2"
al@19910 4 VERSION="2.8.3"
pascal@19338 5 CATEGORY="development"
al@19910 6 SHORT_DESC="Template engine completely written in C++"
pascal@19338 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19338 8 LICENSE="BSD"
pascal@19338 9 WEB_SITE="http://ctpp.havoc.ru/en/"
al@19910 10
al@19910 11 TARBALL="ctpp2-$VERSION.tar.gz"
pascal@19338 12 WGET_URL="http://ctpp.havoc.ru/download/$TARBALL"
pascal@19338 13
pascal@19338 14 BUILD_DEPENDS="cmake"
al@19910 15 SPLIT="libctpp2-dev"
pascal@19338 16
pascal@19338 17 # Rules to configure and make the package.
pascal@19338 18 compile_rules()
pascal@19338 19 {
pascal@19338 20 mkdir build
al@19910 21 cd build
al@19910 22
al@19910 23 cmake \
al@19910 24 -DCMAKE_INSTALL_PREFIX=/usr \
al@19910 25 .. &&
pascal@19338 26 make &&
al@19910 27 make install
pascal@19338 28 }
pascal@19338 29
pascal@19338 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19338 31 genpkg_rules()
pascal@19338 32 {
al@19910 33 case $PACKAGE in
al@19910 34 libctpp2) copy @std;;
al@19910 35 *-dev) copy @dev;;
al@19910 36 esac
pascal@19338 37 }