wok annotate ndppd/receipt @ rev 24988

Fix perl-gd & tcptrack
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 12 11:01:25 2022 +0000 (2022-05-12)
parents 5ea0ce1cecc0
children
rev   line source
pascal@18961 1 # SliTaz package receipt.
pascal@18961 2
pascal@18961 3 PACKAGE="ndppd"
Hans-G?nter@21536 4 VERSION="0.2.5"
pascal@18961 5 CATEGORY="network"
Hans-G?nter@21536 6 TAGS="ipv6"
Hans-G?nter@21536 7 SHORT_DESC="NDP Proxy Daemon."
pascal@18961 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18961 9 LICENSE="GPL3"
Hans-G?nter@21536 10 WEB_SITE="https://github.com/DanielAdolfsson/ndppd"
Hans-G?nter@21536 11
pascal@18961 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@18961 13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
pascal@18961 14
pascal@18961 15 DEPENDS="gcc-lib-base"
Hans-G?nter@21536 16 CONFIG_FILES="/etc/ndppd.conf"
pascal@18961 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24299 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
pascal@18961 24 # Rules to configure and make the package.
pascal@18961 25 compile_rules()
pascal@18961 26 {
pascal@18961 27 sed -i 's|/usr/local|/usr|' Makefile
Hans-G?nter@21536 28
pascal@18961 29 make all &&
pascal@18961 30 make DESTDIR=$DESTDIR install
pascal@18961 31 }
pascal@18961 32
pascal@18961 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18961 34 genpkg_rules()
pascal@18961 35 {
pascal@18961 36 mkdir -p $fs/etc $fs/usr
Hans-G?nter@21536 37
pascal@18961 38 touch $fs/etc/ndppd.conf
pascal@18961 39 cp -a $install/usr/sbin $fs/usr
pascal@18961 40 }