wok-current view libdnet/receipt @ rev 15854
twisted: Add zopeinterface to build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Jan 28 05:56:16 2014 +0000 (2014-01-28) |
parents | 231408e11c7e |
children | eeba7ab1dffe |
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 }