wok-next view libdnet/receipt @ rev 16761

Up: isomaster (1.3.11)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 17 04:55:00 2014 +0300 (2014-06-17)
parents 231408e11c7e
children c3a368c0cddb
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 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://code.google.com/p/libdnet/"
11 WGET_URL="http://libdnet.googlecode.com/files/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/sbin $fs/usr
33 cp -a $install/usr/lib/libdnet $fs/usr/lib
34 cp -a $install/usr/lib/*.1* $fs/usr/lib
35 }