wok-next annotate libctpp2/receipt @ rev 21705
updated graphviz (2.40.1 -> 2.44.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 06 14:36:48 2020 +0100 (2020-07-06) |
parents | df20b2110f7e |
children |
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@20883 | 10 REPOLOGY="ctpp2" |
al@19910 | 11 |
al@19910 | 12 TARBALL="ctpp2-$VERSION.tar.gz" |
pascal@19338 | 13 WGET_URL="http://ctpp.havoc.ru/download/$TARBALL" |
pascal@19338 | 14 |
pascal@19338 | 15 BUILD_DEPENDS="cmake" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
pascal@19338 | 17 |
al@21020 | 18 compile_rules() { |
pascal@19338 | 19 mkdir build |
al@21020 | 20 cd build |
al@19910 | 21 |
al@19910 | 22 cmake \ |
al@19910 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19910 | 24 .. && |
pascal@19338 | 25 make && |
al@19910 | 26 make install |
pascal@19338 | 27 } |
pascal@19338 | 28 |
al@21020 | 29 genpkg_rules() { |
al@19910 | 30 case $PACKAGE in |
al@19910 | 31 libctpp2) copy @std;; |
al@19910 | 32 *-dev) copy @dev;; |
al@19910 | 33 esac |
pascal@19338 | 34 } |