Receipt for package "iproute2"
# SliTaz package receipt. PACKAGE="iproute2" VERSION="5.16.0" CATEGORY="network" TAGS="network route" SHORT_DESC="Utilites for networking and traffic control." MAINTAINER="allan316@gmail.com" LICENSE="GPL2" WEB_SITE="https://wiki.linuxfoundation.org/networking/iproute2" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL" DEPENDS="db iptables libmnl libnl" BUILD_DEPENDS="bison db-dev flex iptables-dev libmnl-dev libnl-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -lrt" sed -i 's|<net/if.h>|<net/if.h>\n#include <linux/ip.h>|' \ ip/link_gre.c ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/bin cook_copy_folders etc cook_copy_folders include cook_copy_folders lib cook_copy_folders sbin cook_copy_folders var ln $fs/sbin/ip $fs/sbin/ss /$fs/bin/ }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)