wok view libdnet/receipt @ rev 23911
Up slitaz-tools (1032)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 15 11:25:11 2020 +0000 (2020-08-15) |
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 }