wok-6.x annotate vifm/receipt @ rev 18086
Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 23 16:17:14 2015 +0300 (2015-05-23) |
parents | |
children | 7bc5e65f1caa |
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 |