wok view nbd/receipt @ rev 25643

Fix mouse issue on mc with ncurses6
author Stanislas Leduc <shann@slitaz.org>
date Fri Jan 12 14:14:28 2024 +0100 (10 months ago)
parents 293d53cefa7b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="nbd"
4 VERSION="3.24"
5 CATEGORY="network"
6 SHORT_DESC="Remote block devices over a TCP/IP network."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://nbd.sourceforge.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/nbd/$TARBALL"
14 SUGGESTED="linux-nbd"
15 DEPENDS="glib pcre"
16 BUILD_DEPENDS="glib-dev pcre-dev pkg-config"
18 CONFIG_FILES="/etc/nbd-server"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/nbd/files/nbd/ 2>/dev/null | \
24 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
25 sed '/scope="row/!d;s|.*/nbd/||;s|/.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --sysconfdir=/etc \
33 --prefix=/usr \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/etc/nbd-server
44 cook_copy_folders bin
45 cook_copy_folders sbin
47 touch $fs/etc/nbd-server/config
48 }