wok-next annotate gnu-netcat/receipt @ rev 18920
Add brotli (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 24 17:34:26 2016 +0100 (2016-02-24) |
parents | 9e01bc6321ea |
children | d5aab818505e |
rev | line source |
---|---|
slaxemulator@9448 | 1 # SliTaz package receipt. |
slaxemulator@9448 | 2 |
slaxemulator@9448 | 3 PACKAGE="gnu-netcat" |
slaxemulator@9448 | 4 VERSION="0.7.1" |
slaxemulator@9448 | 5 CATEGORY="network" |
slaxemulator@9448 | 6 SHORT_DESC="GNU rewrite of netcat, the network piping application" |
slaxemulator@9448 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15589 | 8 LICENSE="GPL2" |
slaxemulator@9448 | 9 SOURCE="netcat" |
slaxemulator@9448 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@9448 | 11 WEB_SITE="http://netcat.sourceforge.net/" |
slaxemulator@9448 | 12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
slaxemulator@9448 | 13 |
pascal@15589 | 14 DEPENDS="texinfo" |
pascal@15589 | 15 |
slaxemulator@9448 | 16 # Rules to configure and make the package. |
slaxemulator@9448 | 17 compile_rules() |
slaxemulator@9448 | 18 { |
slaxemulator@9448 | 19 ./configure --mandir=/usr/share/man \ |
slaxemulator@11109 | 20 --infodir=/usr/share/info \ |
slaxemulator@11109 | 21 $CONFIGURE_ARGS && |
slaxemulator@9448 | 22 make && make install |
slaxemulator@9448 | 23 } |
slaxemulator@9448 | 24 |
slaxemulator@9448 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9448 | 26 genpkg_rules() |
slaxemulator@9448 | 27 { |
slaxemulator@9448 | 28 mkdir -p $fs/usr |
pascal@15589 | 29 cp -a $install/usr/bin $fs/usr |
slaxemulator@9448 | 30 } |
slaxemulator@9448 | 31 |
slaxemulator@9449 | 32 post_remove() |
slaxemulator@9449 | 33 { |
pascal@18730 | 34 ln -s /bin/busybox "$1/usr/bin/nc" |
al@18734 | 35 } |