wok-next rev 20979
Build vifm
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Sep 27 01:38:02 2018 +0300 (2018-09-27) |
parents | 2949147cd6ec |
children | 24a54f99ff54 |
files | vifm/.icon.png vifm/receipt vifm/receipt.orig |
line diff
1.1 Binary file vifm/.icon.png has changed
2.1 --- a/vifm/receipt Thu Sep 27 01:34:11 2018 +0300 2.2 +++ b/vifm/receipt Thu Sep 27 01:38:02 2018 +0300 2.3 @@ -1,34 +1,30 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="vifm" 2.8 -VERSION="0.7.6" 2.9 +VERSION="0.9.1" 2.10 CATEGORY="utilities" 2.11 -SHORT_DESC="Vi File Manager." 2.12 +SHORT_DESC="Ncurses based file manager with vi-like keybindings" 2.13 MAINTAINER="paul@slitaz.org" 2.14 LICENSE="GPL2" 2.15 -DEPENDS="ncurses libmagic xorg-libX11 vim file" 2.16 -BUILD_DEPENDS="ncurses-dev libmagic-dev xorg-libX11-dev util-linux-whereis vim file" 2.17 +WEB_SITE="https://vifm.info/" 2.18 + 2.19 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.20 -WEB_SITE="http://vifm.sourceforge.net/" 2.21 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.22 2.23 -# Rules to configure and make the package. 2.24 -compile_rules() 2.25 -{ 2.26 - cd $src 2.27 +BUILD_DEPENDS="ncurses-dev libmagic-dev xorg-libX11-dev util-linux-whereis vim \ 2.28 +file mdocml util-linux-column perl" 2.29 + 2.30 +compile_rules() { 2.31 + sed -i 's|PACKAGE_DATA_DIR|"/usr/share/vifm"|' src/int/vim.c 2.32 + 2.33 ./configure \ 2.34 - --prefix=/usr \ 2.35 - $CONFIGURE_ARGS && 2.36 - make && make DESTDIR=$DESTDIR install 2.37 + --disable-build-timestamp \ 2.38 + $CONFIGURE_ARGS && 2.39 + make && 2.40 + make install 2.41 } 2.42 2.43 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.44 -genpkg_rules() 2.45 -{ 2.46 - mkdir -p $fs/usr 2.47 - cp -a $install/usr/bin $fs/usr 2.48 - cp -a $install/usr/share $fs/usr 2.49 - # rm stuff 2.50 - rm -rf $fs/usr/share/man 2.51 +genpkg_rules() { 2.52 + copy @std 2.53 + DEPENDS="ncurses libmagic xorg-libX11 vim file" 2.54 } 2.55 -
3.1 --- a/vifm/receipt.orig Thu Sep 27 01:34:11 2018 +0300 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,37 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="vifm" 3.7 -VERSION="0.7.6-beta2" 3.8 -CATEGORY="utilities" 3.9 -SHORT_DESC="Vi File Manager." 3.10 -MAINTAINER="paul@slitaz.org" 3.11 -LICENCE="GPL2" 3.12 -DEPENDS="ncurses libmagic xorg-libX11 vim file" 3.13 -BUILD_DEPENDS="ncurses-dev libmagic-dev xorg-libX11-dev util-linux-whereis vim file" 3.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.15 -WEB_SITE="http://vifm.sourceforge.net/" 3.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 3.17 - 3.18 -DEPENDS="ncurses libmagic xorg-libX11 vim" 3.19 -BUILD_DEPENDS="ncurses-dev libmagic-dev xorg-libX11-dev util-linux-whereis vim" 3.20 - 3.21 -# Rules to configure and make the package. 3.22 -compile_rules() 3.23 -{ 3.24 - cd $src 3.25 - ./configure \ 3.26 - --prefix=/usr \ 3.27 - $CONFIGURE_ARGS && 3.28 - make && make DESTDIR=$DESTDIR install 3.29 -} 3.30 - 3.31 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.32 -genpkg_rules() 3.33 -{ 3.34 - mkdir -p $fs/usr 3.35 - cp -a $install/usr/bin $fs/usr 3.36 - cp -a $install/usr/share $fs/usr 3.37 - # rm stuff 3.38 - rm -rf $fs/usr/share/man 3.39 -} 3.40 -