wok-next view gnu-netcat/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d6ca18366f41
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gnu-netcat"
4 VERSION="0.7.1"
5 CATEGORY="network"
6 SHORT_DESC="GNU rewrite of netcat, the network piping application"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://netcat.sourceforge.net/"
11 SOURCE="netcat"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
16 compile_rules() {
17 ./configure \
18 --mandir=/usr/share/man \
19 --infodir=/usr/share/info \
20 $CONFIGURE_ARGS &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 mkdir -p $fs/usr
27 cp -a $install/usr/bin $fs/usr
28 DEPENDS="texinfo"
29 }
31 post_remove() {
32 ln -s /bin/busybox "$1/usr/bin/nc"
33 }