wok annotate nbd/receipt @ rev 23597

flam3, jpeg-dev, x11vnc: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 09 09:01:09 2020 +0000 (2020-04-09)
parents 59417e476a6e
children afae00265386
rev   line source
pascal@15213 1 # SliTaz package receipt.
pascal@15213 2
pascal@15213 3 PACKAGE="nbd"
Hans-G?nter@23215 4 VERSION="3.20"
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"
Hans-G?nter@23215 16 BUILD_DEPENDS="glib-dev pcre-dev pkg-config"
Hans-G?nter@23215 17
Hans-G?nter@21521 18 CONFIG_FILES="/etc/nbd-server"
pascal@15213 19
pascal@15213 20 # Rules to configure and make the package.
pascal@15213 21 compile_rules()
pascal@15213 22 {
Hans-G?nter@21521 23 ./configure \
Hans-G?nter@21521 24 --sysconfdir=/etc \
Hans-G?nter@21521 25 --prefix=/usr \
Hans-G?nter@21521 26 $CONFIGURE_ARGS &&
pascal@15213 27 make &&
pascal@15213 28 make DESTDIR=$DESTDIR install
pascal@15213 29 }
pascal@15213 30
pascal@15213 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15213 32 genpkg_rules()
pascal@15213 33 {
Hans-G?nter@21521 34 mkdir -p $fs/usr
Hans-G?nter@21521 35 mkdir -p $fs/etc/nbd-server
Hans-G?nter@21521 36
Hans-G?nter@21521 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21521 38 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@21521 39
Hans-G?nter@23215 40 touch $fs/etc/nbd-server/config
pascal@15213 41 }