wok annotate libnfnetlink/receipt @ rev 24721
updated libburn and libburn-dev (1.5.2 -> 1.5.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 09:33:23 2022 +0100 (2022-03-15) |
parents | 93d83d6b247d |
children | cb67b4f8be05 |
rev | line source |
---|---|
pascal@9983 | 1 # SliTaz package receipt. |
pascal@9983 | 2 |
pascal@9983 | 3 PACKAGE="libnfnetlink" |
pascal@17284 | 4 VERSION="1.0.1" |
pascal@9983 | 5 CATEGORY="network" |
pascal@9983 | 6 SHORT_DESC="Low-level library for netfilter related kernel/userspace communication." |
pascal@9983 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15482 | 8 LICENSE="GPL2" |
pascal@9983 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@9983 | 10 WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/" |
pascal@9983 | 11 WGET_URL="${WEB_SITE}files/$TARBALL" |
pascal@9983 | 12 |
pascal@24427 | 13 # What is the latest version available today? |
pascal@24427 | 14 current_version() |
pascal@24427 | 15 { |
pascal@24427 | 16 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 17 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 18 } |
pascal@24427 | 19 |
pascal@9983 | 20 # Rules to configure and make the package. |
pascal@9983 | 21 compile_rules() |
pascal@9983 | 22 { |
gokhlayeh@11573 | 23 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@9983 | 24 make && |
pascal@9983 | 25 make DESTDIR=$DESTDIR install |
pascal@9983 | 26 } |
pascal@9983 | 27 |
pascal@9983 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9983 | 29 genpkg_rules() |
pascal@9983 | 30 { |
pascal@9983 | 31 mkdir -p $fs/usr/lib |
pascal@15482 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@9983 | 33 } |