wok-current annotate libctpp2/receipt @ rev 24374

avrdude: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 05 17:11:25 2022 +0000 (2022-02-05)
parents 3244113bcf23
children 4ce52a0b72fd
rev   line source
pascal@19338 1 # SliTaz package receipt.
pascal@19338 2
pascal@19338 3 PACKAGE="libctpp2"
pascal@19338 4 SOURCE="ctpp2"
Hans-G?nter@21168 5 VERSION="2.8.3"
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"
Hans-G?nter@21168 10 WEB_SITE="https://web.archive.org/web/20180803011303/http://ctpp.havoc.ru/en/"
Hans-G?nter@21168 11
pascal@19338 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@19338 13 WGET_URL="http://ctpp.havoc.ru/download/$TARBALL"
pascal@19338 14
pascal@19338 15 DEPENDS="gcc-lib-base"
pascal@19338 16 BUILD_DEPENDS="cmake"
pascal@19338 17
pascal@19338 18 # Rules to configure and make the package.
pascal@19338 19 compile_rules()
pascal@19338 20 {
pascal@19338 21 mkdir build
pascal@19338 22 cd build &&
pascal@19338 23 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
Hans-G?nter@21168 24 make -j 1 &&
pascal@19338 25 make DESTDIR=$DESTDIR install
pascal@19338 26 }
pascal@19338 27
pascal@19338 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19338 29 genpkg_rules()
pascal@19338 30 {
pascal@19338 31 mkdir -p $fs/usr/lib
Hans-G?nter@21168 32
Hans-G?nter@21168 33 cp -a $install/usr/lib/*.so* $fs/usr/lib/
Hans-G?nter@21168 34 cp -a $install/usr/bin $fs/usr
pascal@19338 35 }