wok-6.x view vfu/receipt @ rev 25053

Up advancecomp (2.3), foomatic-db (4.0-20220223), sagan-rules (2.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 05 19:53:43 2022 +0000 (2022-06-05)
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 }