wok-current annotate bvi/receipt @ rev 23216

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