wok-undigest view libnet/receipt @ rev 193

Up: weechat move to wok
author Liu Peng <rocky@slitaz.org>
date Tue Dec 28 16:09:54 2010 +0000 (2010-12-28)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libnet"
4 SOURCE="libnet-dev"
5 VERSION="1.1.4"
6 CATEGORY="development"
7 SHORT_DESC="Libnet provides a portable framework for low-level network packet construction."
8 MAINTAINER="claudinei@slitaz.org"
9 DEPENDS=""
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://github.com/sam-github/libnet"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 src="$PACKAGE-$VERSION"
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 _pkg="$WOK/$PACKAGE/$PACKAGE-$VERSION/_pkg"
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }