wok-6.x view libdnet/receipt @ rev 21653
Up exosip (5.1.0), siproxd (0.8.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 30 17:55:07 2019 +0200 (2019-05-30) |
parents | 6c3718ca17b6 |
children | b569b85b0fb9 |
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="https://github.com/dugsong/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 }