wok-next annotate gnu-netcat/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d6ca18366f41 |
children |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15589 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="http://netcat.sourceforge.net/" |
al@21020 | 10 |
slaxemulator@9448 | 11 SOURCE="netcat" |
slaxemulator@9448 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@9448 | 13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
slaxemulator@9448 | 14 |
pascal@15589 | 15 |
al@21020 | 16 compile_rules() { |
al@21020 | 17 ./configure \ |
al@21020 | 18 --mandir=/usr/share/man \ |
slaxemulator@11109 | 19 --infodir=/usr/share/info \ |
slaxemulator@11109 | 20 $CONFIGURE_ARGS && |
al@21020 | 21 make && |
al@21020 | 22 make install |
slaxemulator@9448 | 23 } |
slaxemulator@9448 | 24 |
al@21020 | 25 genpkg_rules() { |
slaxemulator@9448 | 26 mkdir -p $fs/usr |
pascal@15589 | 27 cp -a $install/usr/bin $fs/usr |
al@21020 | 28 DEPENDS="texinfo" |
slaxemulator@9448 | 29 } |
slaxemulator@9448 | 30 |
al@21020 | 31 post_remove() { |
pascal@18730 | 32 ln -s /bin/busybox "$1/usr/bin/nc" |
al@18734 | 33 } |