wok annotate iproute2/receipt @ rev 24486

updated djvulibre and djvulibre-dev (3.5.27 -> 3.5.28)
author Hans-G?nter Theisgen
date Fri Feb 18 16:54:18 2022 +0100 (2022-02-18)
parents eba8234042aa
children 518bb01fa67c
rev   line source
allan316@4528 1 # SliTaz package receipt.
allan316@4528 2
allan316@4528 3 PACKAGE="iproute2"
Hans-G?nter@22955 4 VERSION="5.5.0"
pankso@4804 5 CATEGORY="network"
Hans-G?nter@22955 6 TAGS="network route"
Hans-G?nter@22955 7 SHORT_DESC="Utilites for networking and traffic control."
allan316@4528 8 MAINTAINER="allan316@gmail.com"
pascal@15000 9 LICENSE="GPL2"
Hans-G?nter@22955 10 WEB_SITE="https://wiki.linuxfoundation.org/networking/iproute2"
Hans-G?nter@22955 11
pascal@13007 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@13010 13 WGET_URL="http://kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL"
allan316@4528 14
Hans-G?nter@22955 15 DEPENDS="db iptables"
Hans-G?nter@22955 16 BUILD_DEPENDS="bison db-dev flex iptables-dev libmnl-dev libnl-dev"
erjo@9934 17
pascal@24336 18 # What is the latest version available today?
pascal@24336 19 current_version()
pascal@24336 20 {
pascal@24336 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 23 }
pascal@24336 24
allan316@4528 25 # Rules to configure and make the package.
allan316@4528 26 compile_rules()
allan316@4528 27 {
Hans-G?nter@22955 28 sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' \
Hans-G?nter@22955 29 ip/link_gre.c
Hans-G?nter@22955 30
Hans-G?nter@22955 31 ./configure \
Hans-G?nter@22955 32 --prefix=/usr \
Hans-G?nter@22955 33 $CONFIGURE_ARGS &&
Hans-G?nter@22955 34 make &&
Hans-G?nter@22955 35 make DESTDIR=$DESTDIR install
allan316@4528 36 }
allan316@4528 37
allan316@4528 38 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@4528 39 genpkg_rules()
allan316@4528 40 {
pascal@18181 41 mkdir -p $fs/bin
Hans-G?nter@22955 42
Hans-G?nter@22955 43 cp -a $install/usr $fs
Hans-G?nter@22955 44 cp -a $install/etc $fs
Hans-G?nter@22955 45 cp -a $install/var $fs
Hans-G?nter@22955 46 cp -a $install/sbin $fs
pascal@18181 47 ln $fs/sbin/ip $fs/sbin/ss /$fs/bin/
allan316@4528 48 }