wok-current rev 9315

Add connman.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 17 20:48:57 2011 +0000 (2011-03-17)
parents 7043fa241420
children 20f62bdb3543
files connman-dev/receipt connman-plugin-3G/receipt connman-plugin-bluetooth/receipt connman-plugin-wifi/receipt connman/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/connman-dev/receipt	Thu Mar 17 20:48:57 2011 +0000
     1.3 @@ -0,0 +1,24 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="connman-dev"
     1.7 +VERSION="0.64"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Daemon for managing internet connections, dev files."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="connman dbus-python pygobject"
    1.12 +WANTED="connman"
    1.13 +
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib/connman/plugins
    1.19 +	# linking files
    1.20 +	cp -a $_pkg/usr/lib/connman/plugins/*.la $fs/usr/lib/connman/plugins
    1.21 +	# include
    1.22 +	cp -a $_pkg/usr/include $fs/usr
    1.23 +	# pkg-config
    1.24 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.25 +	# test tools
    1.26 +	cp -a $_pkg/usr/lib/connman/test $fs/usr/lib/connman
    1.27 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/connman-plugin-3G/receipt	Thu Mar 17 20:48:57 2011 +0000
     2.3 @@ -0,0 +1,20 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="connman-plugin-3G"
     2.7 +VERSION="0.64"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="Daemon for managing internet connections, 3G plugin"
    2.10 +MAINTAINER="slaxemulator@gmail.com"
    2.11 +DEPENDS="connman"
    2.12 +WANTED="connman"
    2.13 +
    2.14 +
    2.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.16 +genpkg_rules()
    2.17 +{
    2.18 +	mkdir -p $fs/usr/lib/connman/plugins
    2.19 +	for lib in ofono
    2.20 +	do
    2.21 +		cp -a $_pkg/usr/lib/connman/plugins/${lib}.so $fs/usr/lib/connman/plugins
    2.22 +	done
    2.23 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/connman-plugin-bluetooth/receipt	Thu Mar 17 20:48:57 2011 +0000
     3.3 @@ -0,0 +1,21 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="connman-plugin-bluetooth"
     3.7 +VERSION="0.64"
     3.8 +CATEGORY="network"
     3.9 +SHORT_DESC="Daemon for managing internet connections, bluetooth plugin"
    3.10 +MAINTAINER="slaxemulator@gmail.com"
    3.11 +DEPENDS="connman"
    3.12 +WANTED="connman"
    3.13 +
    3.14 +
    3.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.16 +genpkg_rules()
    3.17 +{
    3.18 +	mkdir -p $fs/usr/lib/connman/plugins
    3.19 +	for lib in bluetooth
    3.20 +	do
    3.21 +		cp -a $_pkg/usr/lib/connman/plugins/${lib}.so $fs/usr/lib/connman/plugins
    3.22 +	done
    3.23 +}
    3.24 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/connman-plugin-wifi/receipt	Thu Mar 17 20:48:57 2011 +0000
     4.3 @@ -0,0 +1,20 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="connman-plugin-wifi"
     4.7 +VERSION="0.64"
     4.8 +CATEGORY="network"
     4.9 +SHORT_DESC="Daemon for managing internet connections, wifi plugin"
    4.10 +MAINTAINER="slaxemulator@gmail.com"
    4.11 +DEPENDS="connman"
    4.12 +WANTED="connman"
    4.13 +
    4.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.15 +genpkg_rules()
    4.16 +{
    4.17 +    mkdir -p $fs/usr/lib/connman/plugins
    4.18 +    for lib in wifi
    4.19 +    do
    4.20 +        cp -a $_pkg/usr/lib/connman/plugins/${lib}.so $fs/usr/lib/connman/plugins
    4.21 +    done
    4.22 +}
    4.23 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/connman/receipt	Thu Mar 17 20:48:57 2011 +0000
     5.3 @@ -0,0 +1,67 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="connman"
     5.7 +VERSION="0.64"
     5.8 +CATEGORY="network"
     5.9 +SHORT_DESC="Daemon for managing internet connections"
    5.10 +MAINTAINER="slaxemulator@gmail.com"
    5.11 +DEPENDS="glib dbus iptables gnutls libnl udev wpa_supplicant"
    5.12 +BUILD_DEPENDS="glib-dev dbus-dev iptables iptables-dev gnutls-dev libnl-dev udev-dev wpa_supplicant"
    5.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.14 +WEB_SITE="http://connman.net/"
    5.15 +WGET_URL="http://www.kernel.org/pub/linux/network/$PACKAGE/$TARBALL"
    5.16 +
    5.17 +# Rules to configure and make the package.
    5.18 +compile_rules()
    5.19 +{
    5.20 +	cd $src
    5.21 +	./configure \
    5.22 +		--prefix=/usr \
    5.23 +		--sysconfdir=/etc \
    5.24 +		--localstatedir=/var \
    5.25 +		--infodir=/usr/share/info \
    5.26 +		--mandir=/usr/share/man \
    5.27 +		--disable-gtk-doc \
    5.28 +		--enable-ethernet \
    5.29 +		--enable-wifi \
    5.30 +		--enable-bluetooth \
    5.31 +		--enable-hh2serial-gps \
    5.32 +		--enable-ofono \
    5.33 +		--disable-dhclient \
    5.34 +		--enable-openconnect \
    5.35 +		--disable-portal \
    5.36 +		--enable-loopback \
    5.37 +		--enable-dnsproxy \
    5.38 +		--disable-google \
    5.39 +		--disable-meego \
    5.40 +	--disable-iwmx \
    5.41 +		--enable-iospm \
    5.42 +		--disable-ntpd \
    5.43 +		--disable-polkit \
    5.44 +		--enable-client \
    5.45 +		--enable-tools \
    5.46 +		--enable-test \
    5.47 +		--disable-fake \
    5.48 +		--disable-capng \
    5.49 +		--enable-udev \
    5.50 +		--enable-datafiles \
    5.51 +		$CONFIGURE_ARGS &&
    5.52 +	make && make DESTDIR=$PWD/_pkg install
    5.53 +}
    5.54 +
    5.55 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.56 +genpkg_rules()
    5.57 +{
    5.58 +	# dbus conf
    5.59 +	mkdir -p $fs/etc
    5.60 +	cp -a $_pkg/etc/dbus-1 $fs/etc
    5.61 +	# conman exec
    5.62 +	mkdir -p $fs/usr/lib/connman/plugins
    5.63 +	cp -a $_pkg/usr/sbin $fs/usr
    5.64 +	# plugins
    5.65 +	for lib in dnsproxy ethernet hh2serial-gps iospm loopback openconnect
    5.66 +	do
    5.67 +		cp -a $_pkg/usr/lib/connman/plugins/${lib}.so $fs/usr/lib/connman/plugins
    5.68 +	done
    5.69 +}
    5.70 +