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