diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-10-09 06:39:20 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-10-09 06:39:20 +0000 |
commit | a4571868b71a0066db30a30c157acdc1bc33e218 (patch) | |
tree | 49cb01d9b27a2eaec9f5b64d331b3cddd57f0942 /testing/ofono | |
parent | 5a6c80fa3e1a84280356d007b1b3c09eb647e65f (diff) | |
download | aports-a4571868b71a0066db30a30c157acdc1bc33e218.tar.bz2 aports-a4571868b71a0066db30a30c157acdc1bc33e218.tar.xz |
testing/ofono: new aport
Diffstat (limited to 'testing/ofono')
-rw-r--r-- | testing/ofono/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/ofono/APKBUILD b/testing/ofono/APKBUILD new file mode 100644 index 0000000000..603675e4d5 --- /dev/null +++ b/testing/ofono/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: +pkgname=ofono +pkgver=1.17 +pkgrel=0 +pkgdesc="Infrastructure for building mobile telephony (GSM/UMTS) applications" +url="https://01.org/ofono" +arch="all" +license="GPL2" +depends="bluez mobile-broadband-provider-info" +depends_dev="glib-dev dbus-dev eudev-dev linux-headers bsd-compat-headers libexecinfo-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://www.kernel.org/pub/linux/network/$pkgname/$pkgname-$pkgver.tar.xz" +_builddir="$srcdir"/$pkgname-$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 +} + +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --sbindir=/usr/bin + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="d280b1d267ba5bf391d2a898fea7c748 ofono-1.17.tar.xz" +sha256sums="cbf20f07fd15253c682b23c1786d517f505c3688f7c4ea93da777e1523b89635 ofono-1.17.tar.xz" +sha512sums="d945c87b9c759b459926fcc002d4fb6938c5359a0070a0c623da9f98e342fd2bd92a5f4f22a14e4aa66b5cb3467c3d8f09a95d991ced0b774c066a6406d0746c ofono-1.17.tar.xz" |