wok-6.x annotate vifm/receipt @ rev 21115
libaio: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 19 18:51:13 2019 +0100 (2019-03-19) |
parents | e10c58dd2635 |
children | 703944c2942c |
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 ./configure \ |
pascal@15723 | 19 --prefix=/usr \ |
pascal@15723 | 20 $CONFIGURE_ARGS && |
pascal@20578 | 21 make && make -j 1 DESTDIR=$DESTDIR install |
pascal@15723 | 22 } |
pascal@15723 | 23 |
pascal@15723 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15723 | 25 genpkg_rules() |
pascal@15723 | 26 { |
pascal@15723 | 27 mkdir -p $fs/usr |
pascal@15723 | 28 cp -a $install/usr/bin $fs/usr |
pascal@15723 | 29 cp -a $install/usr/share $fs/usr |
pascal@15723 | 30 # rm stuff |
pascal@15723 | 31 rm -rf $fs/usr/share/man |
pascal@15723 | 32 } |
pascal@15723 | 33 |