
Receipt for package "vifm"
# SliTaz package receipt. PACKAGE="vifm" VERSION="0.12" CATEGORY="utilities" SHORT_DESC="Vi File Manager." MAINTAINER="paul@slitaz.org" LICENSE="GPL2" WEB_SITE="https://vifm.info/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" SUGGESTED="vim" # not really needed, busybox vi is sufficient DEPENDS="file libmagic ncurses xorg-libX11" BUILD_DEPENDS="file groff libmagic-dev ncurses-dev util-linux-whereis xorg-libX11-dev" CONFIG_FILES="/etc/vifm/vifmrc" # What is the latest version available today? current_version() { wget -O - https://github.com/vifm/vifm/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --without-gtk \ --with-libmagic \ --datadir=/usr/share \ $CONFIGURE_ARGS && make && make -j 1 install DESTDIR=$DESTDIR # -j 1 is essential! } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr cp -a $install/usr/share $fs/usr # rm stuff rm -rf $fs/usr/share/doc rm -rf $fs/usr/share/man } post_install() { mkdir -p "$1/etc/vifm" # replace vim by vi in vifmrc when vim is not installed [ -f /usr/bin/vim ] || sed -i 's|vicmd=vim|vicmd=vi|' "$1/usr/share/vifm/vifmrc" cp "$1/usr/share/vifm/vifmrc" "$1/etc/vifm/vifmrc" }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)