wok-6.x view connman/receipt @ rev 10885
miro: add desktop entry
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 01 11:02:42 2011 +0200 (2011-07-01) |
parents | |
children | 12f92c04ebeb |
line source
1 # SliTaz package receipt.
3 PACKAGE="connman"
4 VERSION="0.64"
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 udev-dev wpa_supplicant"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://connman.net/"
12 WGET_URL="http://www.kernel.org/pub/linux/network/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --localstatedir=/var \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --disable-gtk-doc \
25 --enable-ethernet \
26 --enable-wifi \
27 --enable-bluetooth \
28 --enable-hh2serial-gps \
29 --enable-ofono \
30 --disable-dhclient \
31 --enable-openconnect \
32 --disable-portal \
33 --enable-loopback \
34 --enable-dnsproxy \
35 --disable-google \
36 --disable-meego \
37 --disable-iwmx \
38 --enable-iospm \
39 --disable-ntpd \
40 --disable-polkit \
41 --enable-client \
42 --enable-tools \
43 --enable-test \
44 --disable-fake \
45 --disable-capng \
46 --enable-udev \
47 --enable-datafiles \
48 $CONFIGURE_ARGS &&
49 make && make DESTDIR=$PWD/_pkg install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 # dbus conf
56 mkdir -p $fs/etc
57 cp -a $_pkg/etc/dbus-1 $fs/etc
58 # conman exec
59 mkdir -p $fs/usr/lib/connman/plugins
60 cp -a $_pkg/usr/sbin $fs/usr
61 # plugins
62 for lib in dnsproxy ethernet hh2serial-gps iospm loopback openconnect
63 do
64 cp -a $_pkg/usr/lib/connman/plugins/${lib}.so $fs/usr/lib/connman/plugins
65 done
66 }