wok-6.x diff connman/receipt @ rev 10689
ufr2: old version dont work so up and clean-up receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 21:15:10 2011 +0200 (2011-05-27) |
parents | |
children | 12f92c04ebeb |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/connman/receipt Fri May 27 21:15:10 2011 +0200 1.3 @@ -0,0 +1,67 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="connman" 1.7 +VERSION="0.64" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Daemon for managing internet connections" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="glib dbus iptables gnutls libnl udev wpa_supplicant" 1.12 +BUILD_DEPENDS="glib-dev dbus-dev iptables iptables-dev gnutls-dev libnl-dev udev-dev wpa_supplicant" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://connman.net/" 1.15 +WGET_URL="http://www.kernel.org/pub/linux/network/$PACKAGE/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure \ 1.22 + --prefix=/usr \ 1.23 + --sysconfdir=/etc \ 1.24 + --localstatedir=/var \ 1.25 + --infodir=/usr/share/info \ 1.26 + --mandir=/usr/share/man \ 1.27 + --disable-gtk-doc \ 1.28 + --enable-ethernet \ 1.29 + --enable-wifi \ 1.30 + --enable-bluetooth \ 1.31 + --enable-hh2serial-gps \ 1.32 + --enable-ofono \ 1.33 + --disable-dhclient \ 1.34 + --enable-openconnect \ 1.35 + --disable-portal \ 1.36 + --enable-loopback \ 1.37 + --enable-dnsproxy \ 1.38 + --disable-google \ 1.39 + --disable-meego \ 1.40 + --disable-iwmx \ 1.41 + --enable-iospm \ 1.42 + --disable-ntpd \ 1.43 + --disable-polkit \ 1.44 + --enable-client \ 1.45 + --enable-tools \ 1.46 + --enable-test \ 1.47 + --disable-fake \ 1.48 + --disable-capng \ 1.49 + --enable-udev \ 1.50 + --enable-datafiles \ 1.51 + $CONFIGURE_ARGS && 1.52 + make && make DESTDIR=$PWD/_pkg install 1.53 +} 1.54 + 1.55 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.56 +genpkg_rules() 1.57 +{ 1.58 + # dbus conf 1.59 + mkdir -p $fs/etc 1.60 + cp -a $_pkg/etc/dbus-1 $fs/etc 1.61 + # conman exec 1.62 + mkdir -p $fs/usr/lib/connman/plugins 1.63 + cp -a $_pkg/usr/sbin $fs/usr 1.64 + # plugins 1.65 + for lib in dnsproxy ethernet hh2serial-gps iospm loopback openconnect 1.66 + do 1.67 + cp -a $_pkg/usr/lib/connman/plugins/${lib}.so $fs/usr/lib/connman/plugins 1.68 + done 1.69 +} 1.70 +