aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-01-22 11:05:05 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-22 11:07:08 +0100
commit34a3f05112500c82d35b31fc91a11b68390c8e27 (patch)
tree01f5bc0194181f1c3ebb04029fe9867a5b1ceb4c
parentf89b9f0c2d3064b4be330b7b10434ecbf5c39ac4 (diff)
downloadaports-34a3f05112500c82d35b31fc91a11b68390c8e27.tar.gz
aports-34a3f05112500c82d35b31fc91a11b68390c8e27.tar.bz2
aports-34a3f05112500c82d35b31fc91a11b68390c8e27.tar.xz
main/dahdi-tools: cleanup and modernize, fix url=
-rw-r--r--main/dahdi-tools/APKBUILD20
1 files changed, 8 insertions, 12 deletions
diff --git a/main/dahdi-tools/APKBUILD b/main/dahdi-tools/APKBUILD
index 0002f65f20..06460c990a 100644
--- a/main/dahdi-tools/APKBUILD
+++ b/main/dahdi-tools/APKBUILD
@@ -2,31 +2,27 @@
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=dahdi-tools
pkgver=3.1.0
-pkgrel=0
+pkgrel=1
pkgdesc="Digium Asterisk Hardware Device Interface management utilities"
-url="http://www.asterisk.org"
+url="https://www.asterisk.org"
arch="all"
license="GPL-2.0-or-later"
-depends=""
depends_dev="bsd-compat-headers linux-headers dahdi-linux-dev newt-dev"
makedepends="perl file autoconf automake libtool $depends_dev"
-install=
subpackages="$pkgname-doc $pkgname-dev"
-source="http://downloads.digium.com/pub/telephony/dahdi-tools/releases/$pkgname-$pkgver.tar.gz
+source="http://downloads.digium.com/pub/telephony/dahdi-tools/releases/dahdi-tools-$pkgver.tar.gz
fix-musl.patch
- $pkgname.initd"
-
-builddir="$srcdir"/$pkgname-$pkgver
+ $pkgname.initd
+ "
prepare() {
default_prepare
autoreconf -fi
-}
+}
build() {
- cd "$builddir"
- eval local `perl -V:vendorlib`
+ eval local $(perl -V:vendorlib)
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -41,9 +37,9 @@ build() {
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/dahdi
+ rm -rf "$pkgdir"/usr/lib/dracut # We use mkinitfs, not dracut
}
sha512sums="e0e5bf24e4834ca39ef7dc1af1bb7ef26bd258a8b2cb2406a7e1ffed25b4b1d44a5fce41d97c5ad7fc6ebb66f965759d2b49ffa6d89845786f43eadb89ff4694 dahdi-tools-3.1.0.tar.gz