wok annotate nbd/receipt @ rev 19381
palemoon: change sqlite version
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Aug 18 16:53:29 2016 +0200 (2016-08-18) |
parents | c87b3aca9438 |
children | 59417e476a6e |
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@15214 | 13 CONFIG_FILES="/etc/nbd-server" |
pascal@15213 | 14 |
pascal@15213 | 15 DEPENDS="glib pcre" |
pascal@15213 | 16 BUILD_DEPENDS="pkg-config glib-dev pcre-dev" |
pascal@15213 | 17 |
pascal@15213 | 18 # Rules to configure and make the package. |
pascal@15213 | 19 compile_rules() |
pascal@15213 | 20 { |
pascal@15213 | 21 cd $src |
pascal@15214 | 22 ./configure --sysconfdir=/etc --prefix=/usr $CONFIGURE_ARGS && |
pascal@15213 | 23 make && |
pascal@15213 | 24 make DESTDIR=$DESTDIR install |
pascal@15213 | 25 } |
pascal@15213 | 26 |
pascal@15213 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15213 | 28 genpkg_rules() |
pascal@15213 | 29 { |
pascal@15214 | 30 mkdir -p $fs/usr $fs/etc/nbd-server |
pascal@15213 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15213 | 32 cp -a $install/usr/sbin $fs/usr |
pascal@15214 | 33 touch $fs/etc/nbd-server/config |
pascal@15213 | 34 } |