wok-current view bvi/receipt @ rev 25642

Bump linux to 4.19.305, add linux-pae-ipv6
author Stanislas Leduc <shann@slitaz.org>
date Wed Jan 17 12:05:22 2024 +0000 (11 months ago)
parents 5f6c5106b1f5
children
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="https://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 }