aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-09-06 10:49:39 -0300
committerTimo Teräs <timo.teras@iki.fi>2017-09-07 08:00:21 +0000
commit988f1859b6074a3c68748b7e7dfd434882901a8e (patch)
tree7d4f1f775e56be6a6d01f3c62cefd7bf38901070
parentcad3eb0357f757f704eb4fb680f5721acb6ec754 (diff)
downloadaports-988f1859b6074a3c68748b7e7dfd434882901a8e.tar.bz2
aports-988f1859b6074a3c68748b7e7dfd434882901a8e.tar.xz
main/loudmouth: run autoconf in prepare()
-rw-r--r--main/loudmouth/APKBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/main/loudmouth/APKBUILD b/main/loudmouth/APKBUILD
index be795e5a51..a6dc591ef7 100644
--- a/main/loudmouth/APKBUILD
+++ b/main/loudmouth/APKBUILD
@@ -7,21 +7,19 @@ pkgdesc="A lightweight Jabber client library"
url="http://groups.google.com/group/loudmouth-dev"
arch="all"
license="LGPL2+"
-depends=""
depends_dev="pkgconfig gnutls-dev libidn-dev libasyncns-dev check-dev autoconf"
makedepends="$depends_dev glib-dev"
-install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://mcabber.com/files/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- default_prepare || return
+ default_prepare
+ autoconf
}
build() {
cd "$builddir"
- autoconf
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -29,19 +27,18 @@ build() {
--with-asyncns=yes \
--prefix=/usr \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
check() {
cd "$builddir"
- make check || return 1
+ make check
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="ab6b16b4e644b69cdb7d8df1753d1bb5b43c2f1e76944e639339169b332e1b5c6a4246053c5b8a579ee9b53c845cef610b0040dfdffeb857180b6bab71adfcce loudmouth-1.5.3.tar.bz2"