wok-next annotate nbd/receipt @ rev 21383
updated nbd again (3.3 -> 3.20)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 17:34:38 2020 +0100 (2020-04-16) |
parents | d0195b8349a7 |
children |
rev | line source |
---|---|
al@20513 | 1 # SliTaz package receipt v2. |
pascal@15213 | 2 |
pascal@15213 | 3 PACKAGE="nbd" |
Hans-G?nter@21382 | 4 VERSION="3.20" |
pascal@15213 | 5 CATEGORY="network" |
al@20513 | 6 SHORT_DESC="Remote block devices over a TCP/IP network" |
pascal@15213 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15213 | 8 LICENSE="GPL2" |
al@21032 | 9 WEB_SITE="https://nbd.sourceforge.io/" |
al@20513 | 10 |
Hans-G?nter@21383 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@15213 | 12 WGET_URL="$SF_MIRROR/nbd/$TARBALL" |
pascal@15213 | 13 |
al@20513 | 14 BUILD_DEPENDS="glib-dev pcre-dev" |
pascal@15213 | 15 |
Hans-G?nter@21382 | 16 compile_rules() |
Hans-G?nter@21382 | 17 { |
al@20534 | 18 ./configure $CONFIGURE_ARGS && |
pascal@15213 | 19 make && |
al@21020 | 20 make DESTDIR=$install install || return 1 |
al@20513 | 21 |
al@20513 | 22 touch $install/etc/nbd-server/config |
pascal@15213 | 23 } |
pascal@15213 | 24 |
Hans-G?nter@21382 | 25 genpkg_rules() |
Hans-G?nter@21382 | 26 { |
al@20513 | 27 copy @std |
Hans-G?nter@21382 | 28 |
Hans-G?nter@21382 | 29 SUGGESTED="linux-nbd" |
al@20513 | 30 DEPENDS="glib pcre" |
al@20513 | 31 CONFIG_FILES="/etc/nbd-server/" |
pascal@15213 | 32 } |