aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ofono
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-06-28 08:15:26 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-06-28 08:15:26 +0000
commit3b27b80e0f2a3204fe108d0d9de61aac30ce869f (patch)
treeb992c158bf0685e532b932b206830886f5a1db0f /testing/ofono
parent767f71c6eb1ee235b032616ee6e1924849256389 (diff)
downloadaports-3b27b80e0f2a3204fe108d0d9de61aac30ce869f.tar.bz2
aports-3b27b80e0f2a3204fe108d0d9de61aac30ce869f.tar.xz
testing/ofono: upgrade to 1.20, modernize APKBUILD
Diffstat (limited to 'testing/ofono')
-rw-r--r--testing/ofono/APKBUILD33
1 files changed, 10 insertions, 23 deletions
diff --git a/testing/ofono/APKBUILD b/testing/ofono/APKBUILD
index aed5cad2c1..a2a8e30124 100644
--- a/testing/ofono/APKBUILD
+++ b/testing/ofono/APKBUILD
@@ -1,49 +1,36 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ofono
-pkgver=1.19
-pkgrel=1
+pkgver=1.20
+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=""
+makedepends="glib-dev dbus-dev eudev-dev
+ linux-headers bsd-compat-headers libexecinfo-dev"
+options="!check"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.kernel.org/pub/linux/network/$pkgname/$pkgname-$pkgver.tar.xz
$pkgname.initd"
-_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
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--sbindir=/usr/sbin
- make || return 1
+ make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
}
-md5sums="a5f8803ace110511b6ff5a2b39782e8b ofono-1.19.tar.xz
-d159d86d4d6e37b1b2392ea763132091 ofono.initd"
-sha256sums="a0e09bdd8b53b8d2e4b54f1863ecd9aebe4786477a6cbf8f655496e8edb31c81 ofono-1.19.tar.xz
-539925e3caa989bb5a40397406ab4afc893a7fa70bc9ff3bd8fd59fb54ac084c ofono.initd"
-sha512sums="795b55d43e8704f26af7396b3195bb5bdc7b5e0cafe53a14e58975225411880be65aa247a6413774770e521d64997a82afa34627c13753a2b3878b3eda0428a9 ofono-1.19.tar.xz
+sha512sums="8dc86654ae8a1dc1761c95df5f0de55566db20012e523f11bcd5ab5e1540f4cd9fc7bd6bf1665dcbeb31f2925f9322c21fd05fb00034e408b5d85b265e2fe840 ofono-1.20.tar.xz
7f17143545e1a229254b34da76a449d2c1dea238ee988d606de1a12a54fe691cd946f73e446ae786624abbcdc539338334c1d3b0d1e49fdd8ba8ba6aa51b15ff ofono.initd"