wok view vifm/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 2bfe25db26a5
children 2e4bde2eb7d9
line source
1 # SliTaz package receipt.
3 PACKAGE="vifm"
4 VERSION="0.10.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Vi File Manager."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://vifm.info/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="file libmagic ncurses vim xorg-libX11"
15 BUILD_DEPENDS="file groff libmagic-dev ncurses-dev util-linux-whereis \
16 vim xorg-libX11-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/vifm/vifm/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --without-gtk \
31 --with-libmagic \
32 --datadir=/usr/share \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR -j 1 install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share $fs/usr
46 # rm stuff
47 rm -rf $fs/usr/share/man
48 }