wok-6.x view connman/receipt @ rev 14302

Up: edbus (1.7.5)
author Dominique Corbex <domcox@slitaz.org>
date Sun Apr 07 10:14:17 2013 +0200 (2013-04-07)
parents 12f92c04ebeb
children d8e8e6421a2c
line source
1 # SliTaz package receipt.
3 PACKAGE="connman"
4 VERSION="0.83"
5 CATEGORY="network"
6 SHORT_DESC="Daemon for managing internet connections"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="glib dbus iptables gnutls libnl udev wpa_supplicant"
9 BUILD_DEPENDS="glib-dev dbus-dev iptables iptables-dev gnutls-dev libnl-dev \
10 openconnect udev-dev wpa_supplicant"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WEB_SITE="http://connman.net/"
13 WGET_URL="http://www.kernel.org/pub/linux/network/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --disable-gtk-doc \
26 --enable-ethernet \
27 --enable-wifi \
28 --enable-bluetooth \
29 --enable-hh2serial-gps \
30 --enable-ofono \
31 --disable-dhclient \
32 --enable-openconnect \
33 --disable-portal \
34 --enable-loopback \
35 --enable-dnsproxy \
36 --disable-google \
37 --disable-meego \
38 --disable-iwmx \
39 --enable-iospm \
40 --disable-ntpd \
41 --disable-polkit \
42 --enable-client \
43 --enable-tools \
44 --enable-test \
45 --disable-fake \
46 --disable-capng \
47 --enable-udev \
48 --enable-datafiles \
49 $CONFIGURE_ARGS &&
50 make && make DESTDIR=$DESTDIR install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 # dbus conf
57 mkdir -p $fs/etc
58 cp -a $_pkg/etc/dbus-1 $fs/etc
59 # conman exec
60 mkdir -p $fs/usr/lib/connman/plugins
61 cp -a $_pkg/usr/sbin $fs/usr
62 # plugins
63 for lib in dnsproxy ethernet hh2serial-gps iospm loopback openconnect
64 do
65 cp -a $_pkg/usr/lib/connman/plugins/${lib}.so $fs/usr/lib/connman/plugins
66 done
67 }