wok-next view libdnet/receipt @ rev 20975

Close the chain: python and python3 both have upgradeable setuptools and pip
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Sep 23 04:37:56 2018 +0300 (2018-09-23)
parents 0ec6086e21d6
children d5aab818505e
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="slaxemulator@gmail.com"
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="libdnet-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make DESTDIR=$DESTDIR 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 }