wok-6.x annotate libmnl/receipt @ rev 25202

updated python-mako (1.1.2 -> 1.1.6)
author Hans-G?nter Theisgen
date Wed Jul 13 14:16:46 2022 +0100 (2022-07-13)
parents be09ecfec9dc
children
rev   line source
samuel_trassare@14141 1 # SliTaz package receipt.
samuel_trassare@14141 2
samuel_trassare@14141 3 PACKAGE="libmnl"
Hans-G?nter@21257 4 VERSION="1.0.4"
samuel_trassare@14143 5 CATEGORY="network"
samuel_trassare@14141 6 SHORT_DESC="A minimalistic user-space library oriented to Netlink developers."
samuel_trassare@14141 7 MAINTAINER="samuel_trassare@yahoo.com"
pascal@14714 8 LICENSE="LGPL2.1"
Hans-G?nter@21257 9 WEB_SITE="https://www.netfilter.org/projects/$PACKAGE/index.html"
Hans-G?nter@21257 10
samuel_trassare@14141 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@21257 12 WGET_URL="https://www.netfilter.org/projects/$PACKAGE/files/$TARBALL"
samuel_trassare@14141 13
pascal@24447 14 # What is the latest version available today?
pascal@24447 15 current_version()
pascal@24447 16 {
pascal@24447 17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 19 }
pascal@24447 20
samuel_trassare@14141 21 # Rules to configure and make the package.
samuel_trassare@14141 22 compile_rules()
samuel_trassare@14141 23 {
Hans-G?nter@21257 24 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21257 25 make -j 1 &&
Hans-G?nter@21257 26 make DESTDIR=$DESTDIR install
samuel_trassare@14141 27 }
samuel_trassare@14141 28
samuel_trassare@14141 29 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@14141 30 genpkg_rules()
samuel_trassare@14141 31 {
samuel_trassare@14141 32 mkdir -p $fs/usr/lib
samuel_trassare@14141 33 cp -a $install/usr/lib/lib* $fs/usr/lib/
samuel_trassare@14141 34 }