wok-current annotate vifm/receipt @ rev 24036

created recipe for autoconf-archive 2021.02.19)
author Hans-G?nter Theisgen
date Sun Apr 11 16:42:15 2021 +0100 (2021-04-11)
parents 07e5f46bebd3
children 922f061231c2
rev   line source
pascal@15723 1 # SliTaz package receipt.
pascal@15723 2
pascal@15723 3 PACKAGE="vifm"
Hans-G?nter@22103 4 VERSION="0.10.1"
pascal@15723 5 CATEGORY="utilities"
pascal@15723 6 SHORT_DESC="Vi File Manager."
pascal@15723 7 MAINTAINER="paul@slitaz.org"
pascal@15723 8 LICENSE="GPL2"
Hans-G?nter@22103 9 WEB_SITE="https://vifm.info/"
Hans-G?nter@21556 10
pascal@15723 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15723 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15723 13
Hans-G?nter@21556 14 DEPENDS="file libmagic ncurses vim xorg-libX11"
Hans-G?nter@21557 15 BUILD_DEPENDS="file groff libmagic-dev ncurses-dev util-linux-whereis \
Hans-G?nter@21556 16 vim xorg-libX11-dev"
Hans-G?nter@21556 17
pascal@15723 18 # Rules to configure and make the package.
pascal@15723 19 compile_rules()
pascal@15723 20 {
Hans-G?nter@21557 21 ./configure \
Hans-G?nter@21557 22 --prefix=/usr \
Hans-G?nter@21557 23 --without-gtk \
Hans-G?nter@21557 24 --with-libmagic \
Hans-G?nter@21557 25 --datadir=/usr/share \
pascal@15723 26 $CONFIGURE_ARGS &&
Hans-G?nter@21556 27 make &&
pascal@22110 28 make DESTDIR=$DESTDIR -j 1 install
pascal@15723 29 }
pascal@15723 30
pascal@15723 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15723 32 genpkg_rules()
pascal@15723 33 {
pascal@15723 34 mkdir -p $fs/usr
Hans-G?nter@21556 35
Hans-G?nter@21556 36 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21556 37 cp -a $install/usr/share $fs/usr
Hans-G?nter@21556 38
pascal@15723 39 # rm stuff
pascal@15723 40 rm -rf $fs/usr/share/man
pascal@15723 41 }