wok-6.x view bvi/receipt @ rev 25068

updated alsa-tools packages (1.1.5 -> 1.2.5)
author Hans-G?nter Theisgen
date Fri Jun 10 13:52:51 2022 +0100 (2022-06-10)
parents acd67c0473fb
children b0069c845544
line source
1 # SliTaz package receipt.
3 PACKAGE="bvi"
4 VERSION="1.4.1"
5 CATEGORY="development"
6 TAGS="binary development editor hex vi"
7 SHORT_DESC="Binary VIsual (hex editor) based on the vi texteditor."
8 MAINTAINER="hackdorte@sapo.pt"
9 LICENSE="GPL2"
10 WEB_SITE="http://bvi.sourceforge.net"
12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="ncurses"
17 BUILD_DEPENDS="ncurses-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/bvi/files/bvi/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/bvi/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --mandir=/usr/share/man \
33 --with-ncurses \
34 $CONFIGURE_ARGS &&
35 make $MAKEFLAGS &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules(){
41 mkdir -p $fs/usr/bin
42 mkdir -p $fs/usr/share
44 cp -a $install/usr/bin/* $fs/usr/bin
45 cp -a $install/usr/share/* $fs/usr/share
46 }