wok-next view libdnet/receipt @ rev 21725

busybox: add overrides
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:18:16 2020 +0000 (2020-09-01)
parents a3c581bf52b8
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdnet"
4 VERSION="1.12"
5 CATEGORY="network"
6 SHORT_DESC="A simplified, portable interface to serveral low-level networking \
7 routines"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://github.com/dugsong/libdnet"
12 TARBALL="$PACKAGE-$VERSION.tgz"
13 WGET_URL="http://libdnet.googlecode.com/files/$TARBALL" # FIXME
15 BUILD_DEPENDS="python python-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make DESTDIR=$install install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libdnet)
28 copy @std
29 DEPENDS="python"
30 ;;
31 *-dev)
32 copy @dev
33 ;;
34 esac
35 }