main/hylafax: build fix aarch64

This commit is contained in:
Carlo Landmeter 2016-08-16 11:36:04 +00:00
parent a29a8fe5b8
commit c50caecb4d

View File

@ -16,13 +16,15 @@ source="ftp://ftp.hylafax.org/source/$pkgname-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd"
_builddir="$srcdir"/$pkgname-$pkgver
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
default_prepare || return 1
update_config_guess || return 1
}
build() {
cd "$_builddir"
cd "$builddir"
# the configure script does not handle ccache or distcc
export CC=gcc
export CXX=g++
@ -50,7 +52,7 @@ build() {
}
package(){
cd "$_builddir"
cd "$builddir"
# this makefile has issues installing, it doesn't use the standard
# install - but the following seems to work
mkdir -p "${pkgdir}"/usr/bin "${pkgdir}"/usr/sbin