wok diff bvi/receipt @ rev 20616

virtualbox-ose: add virtualbox-linux.patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 25 00:10:50 2018 +0100 (2018-12-25)
parents
children acd67c0473fb
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bvi/receipt	Tue Dec 25 00:10:50 2018 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="bvi"
     1.7 +VERSION="1.4.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Binary VIsual (hex editor) based on the vi texteditor."
    1.10 +MAINTAINER="hackdorte@sapo.pt"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.src.tar.gz"
    1.13 +WEB_SITE="http://bvi.sourceforge.net"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +TAGS="binary development editor hex vi"
    1.16 +
    1.17 +DEPENDS="ncurses"
    1.18 +
    1.19 +BUILD_DEPENDS="ncurses-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +  ./configure --prefix=/usr \
    1.25 +    --mandir=/usr/share/man \
    1.26 +    --with-ncurses \
    1.27 +    $CONFIGURE_ARGS &&
    1.28 +    make $MAKEFLAGS &&
    1.29 +    make DESTDIR=$DESTDIR install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules(){
    1.34 +
    1.35 +  mkdir -p $fs/usr/bin
    1.36 +  cp -a $install/usr/bin/* $fs/usr/bin
    1.37 +
    1.38 +  mkdir -p $fs/usr/share
    1.39 +  cp -a $install/usr/share/* $fs/usr/share
    1.40 +
    1.41 +}