wok-undigest view libnet/receipt @ rev 226

Improve libbonobo* receipt
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 18 11:24:32 2011 +0100 (2011-03-18)
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 }