wok-next annotate vifm/receipt @ rev 16155
mirror-tools: no more mirror-info since http://hg.slitaz.org/slitaz-dev-tools/rev/113c2519c444
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 28 14:14:24 2014 +0000 (2014-03-28) |
parents | |
children | e101fca31a08 |
rev | line source |
---|---|
pascal@15723 | 1 # SliTaz package receipt. |
pascal@15723 | 2 |
pascal@15723 | 3 PACKAGE="vifm" |
pascal@15723 | 4 VERSION="0.7.6" |
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" |
pascal@15723 | 9 DEPENDS="ncurses libmagic xorg-libX11 vim file" |
pascal@15723 | 10 BUILD_DEPENDS="ncurses-dev libmagic-dev xorg-libX11-dev util-linux-whereis vim file" |
pascal@15723 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15723 | 12 WEB_SITE="http://vifm.sourceforge.net/" |
pascal@15723 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15723 | 14 |
pascal@15723 | 15 # Rules to configure and make the package. |
pascal@15723 | 16 compile_rules() |
pascal@15723 | 17 { |
pascal@15723 | 18 cd $src |
pascal@15723 | 19 ./configure \ |
pascal@15723 | 20 --prefix=/usr \ |
pascal@15723 | 21 $CONFIGURE_ARGS && |
pascal@15723 | 22 make && make DESTDIR=$DESTDIR install |
pascal@15723 | 23 } |
pascal@15723 | 24 |
pascal@15723 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15723 | 26 genpkg_rules() |
pascal@15723 | 27 { |
pascal@15723 | 28 mkdir -p $fs/usr |
pascal@15723 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15723 | 30 cp -a $install/usr/share $fs/usr |
pascal@15723 | 31 # rm stuff |
pascal@15723 | 32 rm -rf $fs/usr/share/man |
pascal@15723 | 33 } |
pascal@15723 | 34 |