wok-next view nbd/receipt @ rev 15773
Update tazbug-website/receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 08 00:17:59 2014 +0100 (2014-01-08) |
parents | c87b3aca9438 |
children | d43bf7aae921 |
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 }