wok-current view nbd/receipt @ rev 21911
updated sip and sip-dev (4.16.6 -> 4.19.19)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 04 16:23:53 2019 +0100 (2019-10-04) |
parents | 67f1bd56d62f |
children | f05572332c7c |
line source
1 # SliTaz package receipt.
3 PACKAGE="nbd"
4 VERSION="3.19"
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="pkg-config glib-dev pcre-dev"
17 CONFIG_FILES="/etc/nbd-server"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 mkdir -p $fs/etc/nbd-server
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/sbin $fs/usr
39 touch $fs/etc/nbd-server/config
40 }