wok view ndisc6/receipt @ rev 24590
syslinux: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 28 14:39:39 2022 +0000 (2022-02-28) |
parents | 3765f181a6d5 |
children | e1e1678c5265 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ndisc6"
4 VERSION="0.9.9"
5 CATEGORY="network"
6 SHORT_DESC="IPv6 diagnostic tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://rdnssd.linkfanel.net/"
11 WGET_URL="http://www.remlab.net/files/$PACKAGE/$TARBALL"
12 DEPENDS="perl"
13 CONFIG_FILES="/etc/rdnssd"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure --prefix=/usr --infodir=/usr/share/info \
27 --localstatedir=/var --sysconfdir=/etc \
28 --mandir=/usr/share/man $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/var $fs
39 cp -a $install/etc $fs
40 }