wok view libdnet/receipt @ rev 11994

Up: tazusb (4.0.1) - Bug fix, now works like a charm
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 03 22:20:34 2012 +0100 (2012-03-03)
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 }