wok-next view libdnet/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
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 }