wok annotate 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
rev   line source
pascal@15213 1 # SliTaz package receipt.
pascal@15213 2
pascal@15213 3 PACKAGE="nbd"
pascal@15213 4 VERSION="3.3"
pascal@15213 5 CATEGORY="network"
pascal@15213 6 SHORT_DESC="Remote block devices over a TCP/IP network."
pascal@15213 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15213 8 LICENSE="GPL2"
pascal@15213 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15213 10 WEB_SITE="http://nbd.sourceforge.net/"
pascal@15213 11 WGET_URL="$SF_MIRROR/nbd/$TARBALL"
pascal@15213 12 SUGGESTED="linux-nbd"
pascal@15213 13
pascal@15213 14 DEPENDS="glib pcre"
pascal@15213 15 BUILD_DEPENDS="pkg-config glib-dev pcre-dev"
pascal@15213 16
pascal@15213 17 # Rules to configure and make the package.
pascal@15213 18 compile_rules()
pascal@15213 19 {
pascal@15213 20 cd $src
pascal@15213 21 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@15213 22 make &&
pascal@15213 23 make DESTDIR=$DESTDIR install
pascal@15213 24 }
pascal@15213 25
pascal@15213 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15213 27 genpkg_rules()
pascal@15213 28 {
pascal@15213 29 mkdir -p $fs/usr
pascal@15213 30 cp -a $install/usr/bin $fs/usr
pascal@15213 31 cp -a $install/usr/sbin $fs/usr
pascal@15213 32 }