wok-current view nbd/receipt @ rev 15213

Add nbd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 13 12:21:17 2013 +0000 (2013-09-13)
parents
children 67f1bd56d62f
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"
14 DEPENDS="glib pcre"
15 BUILD_DEPENDS="pkg-config glib-dev pcre-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/sbin $fs/usr
32 }