wok-next view libnet/receipt @ rev 9385
Up: libgsf to 1.14.20.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 26 00:18:48 2011 +0000 (2011-03-26) |
parents | 0cca1e2a1203 |
children | d23ba35ad58b |
line source
1 # SliTaz package receipt.
3 PACKAGE="libnet"
4 VERSION="1.1.5"
5 CATEGORY="network"
6 SHORT_DESC="A library which provides API for commonly used low-level net functions."
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://sourceforge.net/projects/libnet-dev/"
10 WGET_URL="$SF_MIRROR/$PACKAGE-dev/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make && make DESTDIR=$PWD/_pkg 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 $_pkg/usr/lib/*.so* $fs/usr/lib
29 }