wok-current view libmnl/receipt @ rev 25731

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:28:03 2024 +0000 (2 months ago)
parents ede1d184d5c5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libmnl"
4 VERSION="1.0.4"
5 CATEGORY="network"
6 SHORT_DESC="A minimalistic user-space library oriented to Netlink developers."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.netfilter.org/projects/$PACKAGE/index.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://www.netfilter.org/projects/$PACKAGE/files/$TARBALL"
14 HOST_ARCH="i486 x86_64"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make -j 1 &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/lib* $fs/usr/lib/
36 }