wok-current annotate libctpp2/receipt @ rev 21052
updated intel-microcode (20180312 -> 20180807a)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 13 14:10:27 2019 +0100 (2019-03-13) |
parents | 8e396fd3bc8c |
children | 510eca46e352 |
rev | line source |
---|---|
pascal@19338 | 1 # SliTaz package receipt. |
pascal@19338 | 2 |
pascal@19338 | 3 PACKAGE="libctpp2" |
pascal@19338 | 4 SOURCE="ctpp2" |
pascal@19338 | 5 VERSION="2.7.1" |
pascal@19338 | 6 CATEGORY="development" |
pascal@19338 | 7 SHORT_DESC="Template engine completely written in C++." |
pascal@19338 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19338 | 9 LICENSE="BSD" |
pascal@19338 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@21020 | 11 WEB_SITE="https://web.archive.org/web/20180803011303/http://ctpp.havoc.ru/en/" |
pascal@19338 | 12 WGET_URL="http://ctpp.havoc.ru/download/$TARBALL" |
pascal@19338 | 13 |
pascal@19338 | 14 DEPENDS="gcc-lib-base" |
pascal@19338 | 15 BUILD_DEPENDS="cmake" |
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 |
pascal@19338 | 21 cd build && |
pascal@19338 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
pascal@19338 | 23 make && |
pascal@19338 | 24 make DESTDIR=$DESTDIR install |
pascal@19338 | 25 } |
pascal@19338 | 26 |
pascal@19338 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19338 | 28 genpkg_rules() |
pascal@19338 | 29 { |
pascal@19338 | 30 mkdir -p $fs/usr/lib |
pascal@19338 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
pascal@19338 | 32 cp -a $install/usr/bin $fs/usr |
pascal@19338 | 33 } |