wok-next view libdnet/receipt @ rev 20554

Fix build brasero, clutter-gtk, freetype-infinality, gnome-commander
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 06 16:49:09 2018 +0300 (2018-04-06)
parents 6c3718ca17b6
children 0ec6086e21d6
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 routines"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://code.google.com/p/libdnet/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://libdnet.googlecode.com/files/$TARBALL"
14 BUILD_DEPENDS="python python-dev"
15 SPLIT="libdnet-dev"
17 compile_rules() {
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libdnet)
29 copy @std
30 DEPENDS="python"
31 ;;
32 *-dev)
33 copy @dev
34 ;;
35 esac
36 }