Added connman-0.47 build template.
--HG-- extra : convert_revision : 1e749c486bf6d00cadac6971a6de67ad1527b5fc
This commit is contained in:
parent
4a217aad99
commit
33723a8059
4 changed files with 66 additions and 0 deletions
1
srcpkgs/connman-devel
Symbolic link
1
srcpkgs/connman-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
connman
|
18
srcpkgs/connman/connman-devel.template
Normal file
18
srcpkgs/connman/connman-devel.template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'connman-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${sourcepkg} development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run glibc-devel
|
||||||
|
Add_dependency run udev-devel
|
||||||
|
Add_dependency run dbus-glib-devel
|
||||||
|
Add_dependency run connman
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||||
|
}
|
9
srcpkgs/connman/files/connmand.rc
Normal file
9
srcpkgs/connman/files/connmand.rc
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/sbin/runscript
|
||||||
|
|
||||||
|
command=/usr/sbin/connmand
|
||||||
|
name="Connection Manager daemon"
|
||||||
|
|
||||||
|
depend()
|
||||||
|
{
|
||||||
|
need dbus localmount
|
||||||
|
}
|
38
srcpkgs/connman/template
Normal file
38
srcpkgs/connman/template
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Template file for 'connman'
|
||||||
|
pkgname=connman
|
||||||
|
version=0.47
|
||||||
|
distfiles="${KERNEL_SITE}/network/$pkgname/$pkgname-$version.tar.bz2"
|
||||||
|
build_style=gnu_configure
|
||||||
|
configure_args="--localstatedir=/var --enable-pie
|
||||||
|
--enable-ethernet --enable-wifi --enable-bluetooth --enable-threads
|
||||||
|
--enable-modemmgr --enable-udhcp --enable-dhclient --enable-resolvconf
|
||||||
|
--enable-loopback --enable-dnsproxy --enable-hso --enable-mbm
|
||||||
|
--enable-client --enable-tools --enable-test --enable-fake
|
||||||
|
--disable-ofono --disable-ppp --disable-iwmx --disable-iospm --disable-polkit"
|
||||||
|
short_desc="Open Source CONNection MANager"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
checksum=40a3080a1cdec399033490a9b57b071237a898d2518178096479ea80ed48f9d8
|
||||||
|
long_desc="
|
||||||
|
The ConnMan project provides a daemon for managing internet connections
|
||||||
|
within embedded devices running the Linux operating system. The Connection
|
||||||
|
Manager is designed to be slim and to use as few resources as possible,
|
||||||
|
so it can be easily integrated. It is a fully modular system that can be
|
||||||
|
extended, through plug-ins, to support all kinds of wired or wireless
|
||||||
|
technologies. Also, configuration methods, like DHCP and domain name
|
||||||
|
resolving, are implemented using plug-ins. The plug-in approach allows for
|
||||||
|
easy adaption and modification for various use cases."
|
||||||
|
|
||||||
|
conf_files="/etc/dbus-1/system.d/connman.conf"
|
||||||
|
openrc_services="connmand default"
|
||||||
|
subpackages="$pkgname-devel"
|
||||||
|
|
||||||
|
Add_dependency full glibc
|
||||||
|
Add_dependency full dbus
|
||||||
|
Add_dependency full glib
|
||||||
|
Add_dependency full udev
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
install -D -m755 ${FILESDIR}/connmand.rc \
|
||||||
|
${DESTDIR}/etc/init.d/connmand
|
||||||
|
}
|
Loading…
Reference in a new issue