Navigation

Project: wok

Clone project: hg clone http://hg.slitaz.org/wok

  • Download tarball:
  • bz2
  • gz

Search

wok changeset 15213:c87b3aca9438

Add nbd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 13 12:21:17 2013 +0000 (14 months ago ago)
parents 449f2a7e0807
children 67f1bd56d62f
files nbd/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nbd/receipt	Fri Sep 13 12:21:17 2013 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="nbd"
     1.7 +VERSION="3.3"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Remote block devices over a TCP/IP network."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://nbd.sourceforge.net/"
    1.14 +WGET_URL="$SF_MIRROR/nbd/$TARBALL"
    1.15 +SUGGESTED="linux-nbd"
    1.16 +
    1.17 +DEPENDS="glib pcre"
    1.18 +BUILD_DEPENDS="pkg-config glib-dev pcre-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr
    1.33 +	cp -a $install/usr/bin $fs/usr
    1.34 +	cp -a $install/usr/sbin $fs/usr
    1.35 +}