diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-13 17:13:16 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-13 17:13:16 +0000 |
commit | c2231689c738932ee5b759a811d0fe0471281272 (patch) | |
tree | d2b882d49281f3a0ea392b49e57d8a1a35238083 /main/libmaa | |
parent | 3cd99688dcf4cbf1186d23e54bda82f0c6fd3db6 (diff) | |
download | aports-c2231689c738932ee5b759a811d0fe0471281272.tar.bz2 aports-c2231689c738932ee5b759a811d0fe0471281272.tar.xz |
main/libmaa: build fix aarch64
Diffstat (limited to 'main/libmaa')
-rw-r--r-- | main/libmaa/APKBUILD | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/main/libmaa/APKBUILD b/main/libmaa/APKBUILD index 4b7ded5ee8..537ed69662 100644 --- a/main/libmaa/APKBUILD +++ b/main/libmaa/APKBUILD @@ -14,26 +14,19 @@ install="" subpackages="$pkgname-dev" source="http://downloads.sourceforge.net/dict/${pkgname}-${pkgver}.tar.gz" options="libtool" -_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" - ./configure --prefix=/usr - make + cd "$builddir" + update_config_guess || return 1 + ./configure --prefix=/usr + make || return 1 } package() { - cd "$_builddir" - make DESTDIR="${pkgdir}" install + cd "$builddir" + make DESTDIR="${pkgdir}" install || return 1 } md5sums="01dab2cde2e0a322653e45bfa63537ee libmaa-1.3.2.tar.gz" |