Commit b997fda5 authored by Carlo Landmeter's avatar Carlo Landmeter

main/iaxmodem: build fix aarch64

parent d7aeab0f
......@@ -15,28 +15,29 @@ install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
iaxmodem-fix.patch
config.guess
config.sub
$pkgname.confd
$pkgname.initd"
_builddir=$srcdir/$pkgname-$pkgver
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
cd "$builddir"
for i in . lib/spandsp/config lib/libiax2; do
cp $srcdir/config.guess $srcdir/config.sub $i
done
default_prepare || return 1
}
build() {
cd "$_builddir"
cd "$builddir"
./configure || return 1
make || return 1
}
package() {
cd "$_builddir"
cd "$builddir"
install -m755 -s -D "$srcdir/$pkgname-$pkgver/iaxmodem" \
"$pkgdir/usr/sbin/iaxmodem"
mkdir -p "$pkgdir/etc/iaxmodem"
......@@ -72,13 +73,19 @@ package() {
md5sums="8301ed66d182a8a08302d1e54ed6078f iaxmodem-1.3.0.tar.gz
d67d71c7bb2c75c5ae0a74a52bd889de iaxmodem-fix.patch
52f80eee57d1a5dc581fbb1f1c6a7bad config.guess
ab5cdf7080934d24cf4ca0739db766a1 config.sub
d00821bb80d8cba07d0a9b89b2423ce1 iaxmodem.confd
84c3fd34563279a8518fa452ec58fc91 iaxmodem.initd"
sha256sums="9dcff90bbc41846e5c3919ca92687df4b17f54d8df692940b8c67c4e98287535 iaxmodem-1.3.0.tar.gz
064a8205388d7e4b5fdea67cfeef4aa95a01863d088fc76e914f4ab478e887b6 iaxmodem-fix.patch
3c32dbef4195927bffd562b699095ad3271d9b06f1a3ff08eb313100b579a5fe config.guess
98cc817af4b814522e5d776cd005996efae1198b86f50a8518e6b4fac9f24bb3 config.sub
80ddf9a1607f45cc93c309d0174d8a2ddc9514ca328c5551ac33f109d24decbf iaxmodem.confd
f8a03d10b2ae951354540de9a83105d81b014ee5d56b62e4ec76c5519684b465 iaxmodem.initd"
sha512sums="3add8fe1c228ee63f12a3d23fcc8bad5405b9fa6af70cadbcdb276d4e7dfe2a90f1b7c300d35659ab0247010c2315e25a5def5715e670071226bd89271d004f4 iaxmodem-1.3.0.tar.gz
999ba9d554ffa8ecb00b4e18b2e25d0c077a64560985ffc035fe89dedf7ff9686c347aba16a0bc05ad9a4d11e17b9ddad3b99772b2b61e1fcaea00c63bcbb897 iaxmodem-fix.patch
ec32c1c81a460033d1b419292f408974409d08cfc754af92ca5af303cc848fc5dc3a019028c6724346e96ab5d600519862fd9a2c3f01ae6cf7139ff377de4b80 config.guess
fb999aada492f963fdf86184629a7351e5ff3adac6f4707a2d150ae18cea02478b4ebcb1d2d0bd11698ed74415d2a73bc07d8c0d96a5035bd567d2738fa73128 config.sub
c5b01eecd8048a99777c0265bc31cd8dcafa7ab2b30798500ec52e759f4ad97ffc13e8e72ad3018e9cd77b2acefdbbe7125b0b0d7f7cefd4ab6d764c690c89a1 iaxmodem.confd
5e62ae6ea099db21e5f3ce319a28b3e6a9da1a2283fd29404126b486209119cfcf32628e9d3f3323522db30dbf052378f654f9498cd1ae75a447d44005b1f587 iaxmodem.initd"
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment