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