wok view libdnet/receipt @ rev 13348
Up nathive (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 07 12:00:57 2012 +0200 (2012-09-07) |
parents | |
children | 6c3718ca17b6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdnet"
4 VERSION="1.12"
5 CATEGORY="network"
6 SHORT_DESC="A simplified, portable interface to serveral low-level networking routines"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="python"
9 BUILD_DEPENDS="python python-dev"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="http://code.google.com/p/libdnet/"
12 WGET_URL="http://libdnet.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/sbin $fs/usr
31 cp -a $_pkg/usr/lib/libdnet $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.1* $fs/usr/lib
33 }