wok view nbd/receipt @ rev 25411
updated winetricks (20200412 -> 20220411)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 07:24:24 2022 +0100 (2022-08-04) |
parents | afae00265386 |
children | d3556b8f5c3d |
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|.*href="|"https://sourceforge.net|;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 }