wok view bvi/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | b0069c845544 |
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }