wok annotate libctpp2/receipt @ rev 25147
updated powertop (2.11 -> 2.14)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:35:33 2022 +0100 (2022-06-29) |
parents | 4ce52a0b72fd |
children |
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@25028 | 13 WGET_URL="http://ftp.vim.org/pub/ftp/pub/kiwix/dev/$TARBALL" |
pascal@19338 | 14 |
pascal@19338 | 15 DEPENDS="gcc-lib-base" |
pascal@19338 | 16 BUILD_DEPENDS="cmake" |
pascal@19338 | 17 |
pascal@24744 | 18 # What is the latest version available today? |
pascal@24744 | 19 current_version() |
pascal@24744 | 20 { |
pascal@24744 | 21 wget -O - https://ftp.nluug.nl/kiwix/dev/ 2>/dev/null | \ |
pascal@24744 | 22 sed '/ctpp2-[0-9]/!d;s|.*ctpp2-||;s|.t.*||' | sort -Vr | sed q |
pascal@24744 | 23 } |
pascal@24744 | 24 |
pascal@19338 | 25 # Rules to configure and make the package. |
pascal@19338 | 26 compile_rules() |
pascal@19338 | 27 { |
pascal@19338 | 28 mkdir build |
pascal@19338 | 29 cd build && |
pascal@19338 | 30 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
Hans-G?nter@21168 | 31 make -j 1 && |
pascal@19338 | 32 make DESTDIR=$DESTDIR install |
pascal@19338 | 33 } |
pascal@19338 | 34 |
pascal@19338 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19338 | 36 genpkg_rules() |
pascal@19338 | 37 { |
pascal@19338 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@21168 | 39 |
Hans-G?nter@21168 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
Hans-G?nter@21168 | 41 cp -a $install/usr/bin $fs/usr |
pascal@19338 | 42 } |