wok view libnet/receipt @ rev 14505

Add miniupnpc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 12 09:44:28 2013 +0200 (2013-05-12)
parents 4b2399704a7f
children 8d6f480bf664
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 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 ./configure \
16 --prefix=/usr \
17 --infodir=/usr/share/info \
18 --mandir=/usr/share/man \
19 $CONFIGURE_ARGS &&
20 make && make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $install/usr/lib/*.so* $fs/usr/lib
28 }