wok-6.x view libnet/receipt @ rev 23398
updated perl-test-mockobject (1.20180705 -> 1.20200122)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 17:30:03 2020 +0100 (2020-03-31) |
parents | 8d6f480bf664 |
children | 65d7d867e0c1 |
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 # Rules to configure and make the package.
14 compile_rules()
15 {
16 ./configure \
17 --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 }