wok-next diff vifm/receipt @ rev 20151

uclibc-cross-compiler-x86_64: receipt v2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 14:57:04 2017 +0100 (2017-11-01)
parents
children e101fca31a08
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/vifm/receipt	Wed Nov 01 14:57:04 2017 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="vifm"
     1.7 +VERSION="0.7.6"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Vi File Manager."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +DEPENDS="ncurses libmagic xorg-libX11 vim file"
    1.13 +BUILD_DEPENDS="ncurses-dev libmagic-dev xorg-libX11-dev util-linux-whereis vim file"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WEB_SITE="http://vifm.sourceforge.net/"
    1.16 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +	 	$CONFIGURE_ARGS &&
    1.25 +	make && make DESTDIR=$DESTDIR install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr
    1.32 +	cp -a $install/usr/bin $fs/usr
    1.33 +	cp -a $install/usr/share $fs/usr
    1.34 +	# rm stuff
    1.35 +	rm -rf $fs/usr/share/man
    1.36 +}
    1.37 +