wok-next annotate bvi/receipt @ rev 19618
memtest: update for GCC5
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 06 18:15:00 2017 +0100 (2017-02-06) |
parents | |
children | d5aab818505e |
rev | line source |
---|---|
hackdorte@19195 | 1 # SliTaz package receipt. |
hackdorte@19195 | 2 |
hackdorte@19195 | 3 PACKAGE="bvi" |
hackdorte@19195 | 4 VERSION="1.4.0" |
hackdorte@19195 | 5 CATEGORY="development" |
hackdorte@19195 | 6 SHORT_DESC="Binary VIsual (hex editor) based on the vi texteditor." |
hackdorte@19195 | 7 MAINTAINER="hackdorte@sapo.pt" |
hackdorte@19195 | 8 LICENSE="GPL2" |
hackdorte@19195 | 9 TARBALL="$PACKAGE-$VERSION.src.tar.gz" |
hackdorte@19195 | 10 WEB_SITE="http://bvi.sourceforge.net" |
hackdorte@19195 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
hackdorte@19195 | 12 TAGS="binary development editor hex vi" |
hackdorte@19195 | 13 |
hackdorte@19195 | 14 DEPENDS="ncurses" |
hackdorte@19195 | 15 |
hackdorte@19195 | 16 BUILD_DEPENDS="ncurses-dev" |
hackdorte@19195 | 17 |
hackdorte@19195 | 18 # Rules to configure and make the package. |
hackdorte@19195 | 19 compile_rules() |
hackdorte@19195 | 20 { |
hackdorte@19195 | 21 ./configure --prefix=/usr \ |
hackdorte@19195 | 22 --mandir=/usr/share/man \ |
hackdorte@19195 | 23 --with-ncurses \ |
hackdorte@19195 | 24 $CONFIGURE_ARGS && |
hackdorte@19195 | 25 make $MAKEFLAGS && |
hackdorte@19195 | 26 make DESTDIR=$DESTDIR install |
hackdorte@19195 | 27 } |
hackdorte@19195 | 28 |
hackdorte@19195 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
hackdorte@19195 | 30 genpkg_rules(){ |
hackdorte@19195 | 31 |
hackdorte@19195 | 32 mkdir -p $fs/usr/bin |
hackdorte@19195 | 33 cp -a $install/usr/bin/* $fs/usr/bin |
hackdorte@19195 | 34 |
hackdorte@19195 | 35 mkdir -p $fs/usr/share |
hackdorte@19195 | 36 cp -a $install/usr/share/* $fs/usr/share |
hackdorte@19195 | 37 |
hackdorte@19195 | 38 } |