wok annotate nbd/receipt @ rev 21606
updated odt2txt (0.4 -> 0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 23 10:57:29 2019 +0100 (2019-05-23) |
parents | 67f1bd56d62f |
children | f05572332c7c |
rev | line source |
---|---|
pascal@15213 | 1 # SliTaz package receipt. |
pascal@15213 | 2 |
pascal@15213 | 3 PACKAGE="nbd" |
Hans-G?nter@21521 | 4 VERSION="3.19" |
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" |
Hans-G?nter@21521 | 9 WEB_SITE="https://nbd.sourceforge.io/" |
Hans-G?nter@21521 | 10 |
Hans-G?nter@21521 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@15213 | 12 WGET_URL="$SF_MIRROR/nbd/$TARBALL" |
Hans-G?nter@21521 | 13 |
pascal@15213 | 14 SUGGESTED="linux-nbd" |
pascal@15213 | 15 DEPENDS="glib pcre" |
pascal@15213 | 16 BUILD_DEPENDS="pkg-config glib-dev pcre-dev" |
Hans-G?nter@21521 | 17 CONFIG_FILES="/etc/nbd-server" |
pascal@15213 | 18 |
pascal@15213 | 19 # Rules to configure and make the package. |
pascal@15213 | 20 compile_rules() |
pascal@15213 | 21 { |
Hans-G?nter@21521 | 22 ./configure \ |
Hans-G?nter@21521 | 23 --sysconfdir=/etc \ |
Hans-G?nter@21521 | 24 --prefix=/usr \ |
Hans-G?nter@21521 | 25 $CONFIGURE_ARGS && |
pascal@15213 | 26 make && |
pascal@15213 | 27 make DESTDIR=$DESTDIR install |
pascal@15213 | 28 } |
pascal@15213 | 29 |
pascal@15213 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15213 | 31 genpkg_rules() |
pascal@15213 | 32 { |
Hans-G?nter@21521 | 33 mkdir -p $fs/usr |
Hans-G?nter@21521 | 34 mkdir -p $fs/etc/nbd-server |
Hans-G?nter@21521 | 35 |
Hans-G?nter@21521 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21521 | 37 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@21521 | 38 |
pascal@15214 | 39 touch $fs/etc/nbd-server/config |
pascal@15213 | 40 } |