wok-current annotate vfu/receipt @ rev 24569
sokojs: add shrink.sh (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 18:46:53 2022 +0000 (2022-02-26) |
parents | 5f652b930fb9 |
children |
rev | line source |
---|---|
pascal@14379 | 1 # SliTaz package receipt. |
pascal@14379 | 2 |
pascal@14379 | 3 PACKAGE="vfu" |
pascal@14379 | 4 VERSION="4.12" |
pascal@14379 | 5 CATEGORY="utilities" |
pascal@14379 | 6 SHORT_DESC="VFU is a console (text mode) file manager for UNIX/Linux." |
pascal@14379 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@14379 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14379 | 10 WEB_SITE="http://cade.datamax.bg/vfu/" |
pascal@14379 | 11 WGET_URL="http://cade.datamax.bg/vfu/$TARBALL" |
pascal@14379 | 12 |
pascal@15000 | 13 DEPENDS="ncurses pcre" |
pascal@15000 | 14 BUILD_DEPENDS="ncurses-dev pcre-dev" |
pascal@15000 | 15 |
pascal@24304 | 16 # What is the latest version available today? |
pascal@24304 | 17 current_version() |
pascal@24304 | 18 { |
pascal@24304 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24304 | 20 sed "/tar.gz/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1 |
pascal@24304 | 21 } |
pascal@24304 | 22 |
pascal@14379 | 23 # Rules to configure and make the package. |
pascal@14379 | 24 compile_rules() |
pascal@14379 | 25 { |
pascal@17674 | 26 make LDDEF=-ltinfo |
pascal@14379 | 27 } |
pascal@14379 | 28 |
pascal@14379 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14379 | 30 genpkg_rules() |
pascal@14379 | 31 { |
pascal@14379 | 32 mkdir -p $fs/usr/bin $fs/usr/lib/vfu $fs/etc |
pascal@14379 | 33 cp -a $src/vfu/vfu $fs/usr/bin |
pascal@14379 | 34 cp -a $src/rx/rx_* $fs/usr/lib/vfu |
pascal@14379 | 35 cp -a $src/vfu.conf $fs/etc |
pascal@14379 | 36 chown root:root $fs/etc/vfu.conf |
pascal@14379 | 37 chown -R root:root $fs/usr/lib/vfu |
pascal@14379 | 38 } |