blob: e1322863462b5afd0e3942b577d1f0111425bd2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=connman
pkgver=1.31
pkgrel=3
pkgdesc="A daemon for managing internet connections"
url="http://connman.net/"
arch="all"
license="GPLv2"
depends="wpa_supplicant"
makedepends="autoconf automake libtool
glib-dev iptables-dev readline-dev dbus-dev
"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.kernel.org/pub/linux/network/$pkgname/$pkgname-$pkgver.tar.xz
musl-fixes.patch
libresolv.patch
connman.initd
"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare
cd "$builddir"
autoreconf -vif
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-wispr
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 src/main.conf "$pkgdir"/etc/$pkgname/main.conf
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
sha512sums="f9871ead096ead37d3bc524fb143ec8c88125e9c18b5eb1f451581b9a2061719e90361e5b7f3e09901701707d977c42c630457b0ead8e76e04e964a7542c7bbd connman-1.31.tar.xz
6bcf633e299b8034efa801d678163c61edf1d35e286f2bf10cc94d85e268f9a6aa5c91bd3c18e90991ccacade00b01fcc72bedae191a2051321649bb3d678f13 musl-fixes.patch
c258e747e13b86c81ae96ac1743abf0c1461b9053c5b386d594a49f0b1890f10d89bea92610762ff609a4cc5fea04a43fab83894702f552b05af400f01cb011e libresolv.patch
42b45d44f5eed966ba003683fcb54ffb4e9a0331599ff1c8e5e64c4c06b42d380c3852b7c73881a1be1eaca887906cac9aede1f5579e8e139fdf90ca8d7adf15 connman.initd"
|