wok annotate libnl1/receipt @ rev 25193
updated python-genshi (0.7.3 -> 0.7.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:42:47 2022 +0100 (2022-07-13) |
parents | 8dd8bab3f0ca |
children |
rev | line source |
---|---|
pascal@14712 | 1 # SliTaz package receipt. |
pascal@14712 | 2 |
pascal@14712 | 3 PACKAGE="libnl1" |
pascal@14712 | 4 VERSION="1.1.4" |
pascal@14712 | 5 SOURCE="libnl" |
pascal@14712 | 6 CATEGORY="network" |
pascal@14712 | 7 SHORT_DESC="netlink library." |
pascal@14712 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14714 | 9 LICENSE="LGPL2.1" |
pascal@14712 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20672 | 11 WEB_SITE="http://www.infradead.org/~tgr/libnl/" |
pascal@14712 | 12 WGET_URL="$WEB_SITE/files/$TARBALL" |
pascal@14712 | 13 |
pascal@14712 | 14 BUILD_DEPENDS="flex" |
pascal@14712 | 15 |
pascal@24427 | 16 # What is the latest version available today? |
pascal@24427 | 17 current_version() |
pascal@24427 | 18 { |
pascal@24427 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 20 sed "/$SOURCE-[0-9]/!d;/-rc/d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 21 } |
pascal@24427 | 22 |
pascal@14712 | 23 # Rules to configure and make the package. |
pascal@14712 | 24 compile_rules() |
pascal@14712 | 25 { |
pascal@14712 | 26 cd $src |
pascal@14712 | 27 ./configure && make && make install |
pascal@14712 | 28 } |
pascal@14712 | 29 |
pascal@14712 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14712 | 31 genpkg_rules() |
pascal@14712 | 32 { |
pascal@14712 | 33 mkdir -p $fs/usr |
pascal@14712 | 34 cp -a $install/usr/lib $fs/usr |
pascal@14712 | 35 } |