wok view libnet/receipt @ rev 24590

syslinux: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 28 14:39:39 2022 +0000 (2022-02-28)
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 }