# HG changeset patch # User Christopher Rogers # Date 1300394937 0 # Node ID 2eaa57543adf47de70d149d8364ed60c69d71aa2 # Parent 7043fa2414205810ad37c82bb1eb5564988d8a8b Add connman. diff -r 7043fa241420 -r 2eaa57543adf connman-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/connman-dev/receipt Thu Mar 17 20:48:57 2011 +0000 @@ -0,0 +1,24 @@ +# SliTaz package receipt. + +PACKAGE="connman-dev" +VERSION="0.64" +CATEGORY="network" +SHORT_DESC="Daemon for managing internet connections, dev files." +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="connman dbus-python pygobject" +WANTED="connman" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/connman/plugins + # linking files + cp -a $_pkg/usr/lib/connman/plugins/*.la $fs/usr/lib/connman/plugins + # include + cp -a $_pkg/usr/include $fs/usr + # pkg-config + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + # test tools + cp -a $_pkg/usr/lib/connman/test $fs/usr/lib/connman +} diff -r 7043fa241420 -r 2eaa57543adf connman-plugin-3G/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/connman-plugin-3G/receipt Thu Mar 17 20:48:57 2011 +0000 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="connman-plugin-3G" +VERSION="0.64" +CATEGORY="network" +SHORT_DESC="Daemon for managing internet connections, 3G plugin" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="connman" +WANTED="connman" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/connman/plugins + for lib in ofono + do + cp -a $_pkg/usr/lib/connman/plugins/${lib}.so $fs/usr/lib/connman/plugins + done +} diff -r 7043fa241420 -r 2eaa57543adf connman-plugin-bluetooth/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/connman-plugin-bluetooth/receipt Thu Mar 17 20:48:57 2011 +0000 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="connman-plugin-bluetooth" +VERSION="0.64" +CATEGORY="network" +SHORT_DESC="Daemon for managing internet connections, bluetooth plugin" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="connman" +WANTED="connman" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/connman/plugins + for lib in bluetooth + do + cp -a $_pkg/usr/lib/connman/plugins/${lib}.so $fs/usr/lib/connman/plugins + done +} + diff -r 7043fa241420 -r 2eaa57543adf connman-plugin-wifi/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/connman-plugin-wifi/receipt Thu Mar 17 20:48:57 2011 +0000 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="connman-plugin-wifi" +VERSION="0.64" +CATEGORY="network" +SHORT_DESC="Daemon for managing internet connections, wifi plugin" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="connman" +WANTED="connman" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/connman/plugins + for lib in wifi + do + cp -a $_pkg/usr/lib/connman/plugins/${lib}.so $fs/usr/lib/connman/plugins + done +} + diff -r 7043fa241420 -r 2eaa57543adf connman/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/connman/receipt Thu Mar 17 20:48:57 2011 +0000 @@ -0,0 +1,67 @@ +# SliTaz package receipt. + +PACKAGE="connman" +VERSION="0.64" +CATEGORY="network" +SHORT_DESC="Daemon for managing internet connections" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="glib dbus iptables gnutls libnl udev wpa_supplicant" +BUILD_DEPENDS="glib-dev dbus-dev iptables iptables-dev gnutls-dev libnl-dev udev-dev wpa_supplicant" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://connman.net/" +WGET_URL="http://www.kernel.org/pub/linux/network/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --disable-gtk-doc \ + --enable-ethernet \ + --enable-wifi \ + --enable-bluetooth \ + --enable-hh2serial-gps \ + --enable-ofono \ + --disable-dhclient \ + --enable-openconnect \ + --disable-portal \ + --enable-loopback \ + --enable-dnsproxy \ + --disable-google \ + --disable-meego \ + --disable-iwmx \ + --enable-iospm \ + --disable-ntpd \ + --disable-polkit \ + --enable-client \ + --enable-tools \ + --enable-test \ + --disable-fake \ + --disable-capng \ + --enable-udev \ + --enable-datafiles \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + # dbus conf + mkdir -p $fs/etc + cp -a $_pkg/etc/dbus-1 $fs/etc + # conman exec + mkdir -p $fs/usr/lib/connman/plugins + cp -a $_pkg/usr/sbin $fs/usr + # plugins + for lib in dnsproxy ethernet hh2serial-gps iospm loopback openconnect + do + cp -a $_pkg/usr/lib/connman/plugins/${lib}.so $fs/usr/lib/connman/plugins + done +} +