wok-current view ndisc6/receipt @ rev 25624
Patch gst-ffmpeg to work with new gcc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 04 19:03:50 2023 +0000 (11 months ago) |
parents | 241fb98cab1c |
children |
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="https://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 }