diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-31 07:28:14 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-31 07:28:14 +0000 |
commit | 3ca45d253111b101476fdb3a9dae103947983145 (patch) | |
tree | e3d6818be2915991f4a3daeedcaef44c036dc4b9 /testing/connman/APKBUILD | |
parent | 7c015fedaa64a1800751771deadc85a0be12f2d1 (diff) | |
download | aports-3ca45d253111b101476fdb3a9dae103947983145.tar.bz2 aports-3ca45d253111b101476fdb3a9dae103947983145.tar.xz |
testing/connman: new aport
An alternative daemon for managing internet connections on Linux
http://connman.net/
Diffstat (limited to 'testing/connman/APKBUILD')
-rw-r--r-- | testing/connman/APKBUILD | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/testing/connman/APKBUILD b/testing/connman/APKBUILD new file mode 100644 index 0000000000..3bf806f131 --- /dev/null +++ b/testing/connman/APKBUILD @@ -0,0 +1,60 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=connman +pkgver=1.24 +pkgrel=0 +pkgdesc="An alternative daemon for managing internet connections on Linux" +url="http://connman.net/" +arch="all" +license="GPLv2" +depends="wpa_supplicant" +depends_dev="" +makedepends="$depends_dev glib-dev iptables-dev gnutls-dev readline-dev + dbus-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://www.kernel.org/pub/linux/network/connman/connman-$pkgver.tar.xz + musl-fixes.patch + libresolv.patch + " + +_builddir="$srcdir"/connman-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + update_config_sub +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="dd6e1b4d9b9a28d127edb9f9b58bdec1 connman-1.24.tar.xz +07b13030c281a0114cd376e094f1eb1c musl-fixes.patch +7ce81d8578903db13b92aae7479f0624 libresolv.patch" +sha256sums="551df7a5f0c6e4d69523dd2b3aa2c54525b323457d5135f64816215bad3dc24c connman-1.24.tar.xz +76b43bb4b0ee93434721e4aa0d1b6f4e45fbe5c33329286f6cb4f3cf458b6eed musl-fixes.patch +6a36a7d85d12d5ce927c741ca41ddb40a4eb5351dd0112cebc93134113641edb libresolv.patch" +sha512sums="12ed0b476e8b590602eb5eea6175404cb6e377aba3a061fe42a16548325e2ad1ac3e285e92b4e66bd430ba3766c84da884383abaed0c89dca2ca511d83c8d7b4 connman-1.24.tar.xz +aee4fd55447492edc0f4ee9f9c8fa4eb45a4b7eb158bd896cff31773a069c2aed1feeac0b4189ffd314b38275768601cb37b89f2fbbf12945410c9b7c7928c07 musl-fixes.patch +c258e747e13b86c81ae96ac1743abf0c1461b9053c5b386d594a49f0b1890f10d89bea92610762ff609a4cc5fea04a43fab83894702f552b05af400f01cb011e libresolv.patch" |