aboutsummaryrefslogtreecommitdiffstats
path: root/main/dahdi-tools/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-11 21:08:42 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-11 21:08:42 +0000
commit8aa96851f0006c872fba41184d3066670ab31c94 (patch)
treed3e1f6ba35053fa712e99817c3684b6d2ec72940 /main/dahdi-tools/APKBUILD
parent6a5509131721b9452fbcf8b338caf8fd79b2d608 (diff)
downloadaports-8aa96851f0006c872fba41184d3066670ab31c94.tar.bz2
aports-8aa96851f0006c872fba41184d3066670ab31c94.tar.xz
main/dahdi-tools: build fox for aarch64
Diffstat (limited to 'main/dahdi-tools/APKBUILD')
-rw-r--r--main/dahdi-tools/APKBUILD25
1 files changed, 17 insertions, 8 deletions
diff --git a/main/dahdi-tools/APKBUILD b/main/dahdi-tools/APKBUILD
index f8f77f7d75..2137f00d51 100644
--- a/main/dahdi-tools/APKBUILD
+++ b/main/dahdi-tools/APKBUILD
@@ -13,12 +13,15 @@ makedepends="perl $depends_dev"
install=
subpackages="$pkgname-doc $pkgname-dev"
source="http://downloads.digium.com/pub/telephony/dahdi-tools/releases/$pkgname-$pkgver.tar.gz
- $pkgname.initd"
+ $pkgname.initd
+ config.guess
+ config.sub"
-_builddir="$srcdir"/$pkgname-$pkgver
-build() {
- cd "$_builddir"
+builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$builddir"
+ cp $srcdir/config.guess $srcdir/config.sub menuselect
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,15 +36,21 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
eval local `perl -V:vendorlib`
make -j1 DESTDIR="$pkgdir" PERLLIBDIR="$vendorlib" install
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/dahdi
}
md5sums="c2e4f476a8e7f96a5cad46dd9b648446 dahdi-tools-2.6.1.tar.gz
-37d605b72a52cc81043b9e5726ec77a3 dahdi-tools.initd"
+37d605b72a52cc81043b9e5726ec77a3 dahdi-tools.initd
+52f80eee57d1a5dc581fbb1f1c6a7bad config.guess
+ab5cdf7080934d24cf4ca0739db766a1 config.sub"
sha256sums="c12b542be98507915d9c2baae6b376575a11655d50750ef03d0c312171a1badb dahdi-tools-2.6.1.tar.gz
-01648a0b78cfb1cfd749d030da989d31b30ee5060495136d4c52fec93c851b84 dahdi-tools.initd"
+01648a0b78cfb1cfd749d030da989d31b30ee5060495136d4c52fec93c851b84 dahdi-tools.initd
+3c32dbef4195927bffd562b699095ad3271d9b06f1a3ff08eb313100b579a5fe config.guess
+98cc817af4b814522e5d776cd005996efae1198b86f50a8518e6b4fac9f24bb3 config.sub"
sha512sums="d00707d30407952162402c0c77610b74d8e5aef73501b4f0db2a41b5e5698914725776ce6abd4a3fffc2a509245b7b0b95da8bb32112e939f3bed4d72c3b897f dahdi-tools-2.6.1.tar.gz
-3850ab9e323ec31d676d311c97d0cde70b809379b6c01c8ff6d5a01a860eb43bf3f18f2de53e952365d17f40638c7cb0481682d96cea5b7fdb1423d3e762e2f3 dahdi-tools.initd"
+3850ab9e323ec31d676d311c97d0cde70b809379b6c01c8ff6d5a01a860eb43bf3f18f2de53e952365d17f40638c7cb0481682d96cea5b7fdb1423d3e762e2f3 dahdi-tools.initd
+ec32c1c81a460033d1b419292f408974409d08cfc754af92ca5af303cc848fc5dc3a019028c6724346e96ab5d600519862fd9a2c3f01ae6cf7139ff377de4b80 config.guess
+fb999aada492f963fdf86184629a7351e5ff3adac6f4707a2d150ae18cea02478b4ebcb1d2d0bd11698ed74415d2a73bc07d8c0d96a5035bd567d2738fa73128 config.sub"