wok annotate buffer/receipt @ rev 25740
Fix vlc build, 3.x required Qt5
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Aug 25 19:45:07 2024 +0200 (3 months ago) |
parents | a511baf85854 |
children |
rev | line source |
---|---|
erjo@13494 | 1 # SliTaz package receipt. |
erjo@13494 | 2 |
erjo@13494 | 3 PACKAGE="buffer" |
erjo@13494 | 4 VERSION="1.19" |
erjo@13494 | 5 CATEGORY="system-tools" |
erjo@13494 | 6 SHORT_DESC="GPL disaster recovery solution." |
erjo@13494 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
erjo@13494 | 9 WEB_SITE="http://www.mondorescue.org/" |
erjo@13494 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@24373 | 11 WGET_URL="http://ftp.mondorescue.org/src/$TARBALL" |
erjo@13494 | 12 |
erjo@13494 | 13 DEPENDS="" |
erjo@13494 | 14 BUILD_DEPENDS="" |
erjo@13494 | 15 |
pascal@24373 | 16 # What is the latest version available today? |
pascal@24373 | 17 current_version() |
pascal@24373 | 18 { |
pascal@24373 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24373 | 20 sed "/latest/d;/$PACKAGE-/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*\".*|\\1|" | sort -Vr | sed q |
pascal@24373 | 21 } |
pascal@24373 | 22 |
erjo@13494 | 23 # Rules to configure and make the package. |
erjo@13494 | 24 compile_rules() |
erjo@13494 | 25 { |
erjo@13494 | 26 patch -p1 < $stuff/buffer-1.19.patch || exit 1 |
erjo@13494 | 27 make |
al@19288 | 28 |
al@19288 | 29 cp buffer.man buffer.1 |
al@19288 | 30 cook_pick_manpages buffer.1 |
erjo@13494 | 31 } |
erjo@13494 | 32 |
erjo@13494 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@13494 | 34 genpkg_rules() |
erjo@13494 | 35 { |
erjo@13494 | 36 mkdir -p $fs/usr/bin |
erjo@13494 | 37 |
erjo@13494 | 38 cp -a $src/buffer $fs/usr/bin |
erjo@13494 | 39 } |