wok-current view libnl1/receipt @ rev 25693

Up depends pkgs for cups, need to rebuild it for ssl 3.0
author Stanislas Leduc <shann@slitaz.org>
date Sun Mar 24 15:17:37 2024 +0000 (7 months ago)
parents 8dd8bab3f0ca
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libnl1"
4 VERSION="1.1.4"
5 SOURCE="libnl"
6 CATEGORY="network"
7 SHORT_DESC="netlink library."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.infradead.org/~tgr/libnl/"
12 WGET_URL="$WEB_SITE/files/$TARBALL"
14 BUILD_DEPENDS="flex"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/$SOURCE-[0-9]/!d;/-rc/d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure && make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 }