wok annotate vfu/receipt @ rev 20215

virtualbox-ose: force host arch to i486
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 16:34:05 2018 +0100 (2018-02-24)
parents c7c3567bd8d4
children 922f061231c2
rev   line source
pascal@14379 1 # SliTaz package receipt.
pascal@14379 2
pascal@14379 3 PACKAGE="vfu"
pascal@14379 4 VERSION="4.12"
pascal@14379 5 CATEGORY="utilities"
pascal@14379 6 SHORT_DESC="VFU is a console (text mode) file manager for UNIX/Linux."
pascal@14379 7 MAINTAINER="paul@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@14379 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14379 10 WEB_SITE="http://cade.datamax.bg/vfu/"
pascal@14379 11 WGET_URL="http://cade.datamax.bg/vfu/$TARBALL"
pascal@14379 12
pascal@15000 13 DEPENDS="ncurses pcre"
pascal@15000 14 BUILD_DEPENDS="ncurses-dev pcre-dev"
pascal@15000 15
pascal@14379 16 # Rules to configure and make the package.
pascal@14379 17 compile_rules()
pascal@14379 18 {
pascal@17674 19 make LDDEF=-ltinfo
pascal@14379 20 }
pascal@14379 21
pascal@14379 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14379 23 genpkg_rules()
pascal@14379 24 {
pascal@14379 25 mkdir -p $fs/usr/bin $fs/usr/lib/vfu $fs/etc
pascal@14379 26 cp -a $src/vfu/vfu $fs/usr/bin
pascal@14379 27 cp -a $src/rx/rx_* $fs/usr/lib/vfu
pascal@14379 28 cp -a $src/vfu.conf $fs/etc
pascal@14379 29 chown root:root $fs/etc/vfu.conf
pascal@14379 30 chown -R root:root $fs/usr/lib/vfu
pascal@14379 31 }