wok view nbd/receipt @ rev 18350
Up libmagic-dev libmagic python-magic (5.24)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 12 10:24:19 2015 +0200 (2015-09-12) |
parents | c87b3aca9438 |
children | 59417e476a6e |
line source
1 # SliTaz package receipt.
3 PACKAGE="nbd"
4 VERSION="3.3"
5 CATEGORY="network"
6 SHORT_DESC="Remote block devices over a TCP/IP network."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://nbd.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/nbd/$TARBALL"
12 SUGGESTED="linux-nbd"
13 CONFIG_FILES="/etc/nbd-server"
15 DEPENDS="glib pcre"
16 BUILD_DEPENDS="pkg-config glib-dev pcre-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --sysconfdir=/etc --prefix=/usr $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr $fs/etc/nbd-server
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 touch $fs/etc/nbd-server/config
34 }