wok-current view libnet/receipt @ rev 24737
updated libevdev and libevdev-dev (1.9.0 -> 1.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 09:39:00 2022 +0100 (2022-03-16) |
parents | 86790a278e70 |
children | 91df889f52fe |
line source
1 # SliTaz package receipt.
3 PACKAGE="libnet"
4 VERSION="1.1.6"
5 CATEGORY="network"
6 SHORT_DESC="A library which provides API for commonly used low-level net functions."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://sourceforge.net/projects/libnet-dev/"
11 WGET_URL="$SF_MIRROR/$PACKAGE-dev/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://sourceforge.net/projects/libnet-dev/files/ 2>/dev/null | \
17 sed '/scope="row/!d;s|.*/libnet-||;s|.tar.*||;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && 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/*.so* $fs/usr/lib
36 }