From 202b3e0d66928098f687ca116f9c52fae19f6e0d Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Wed, 17 Aug 2016 20:42:13 +0000 Subject: testing/glog: update config.guess --- testing/glog/APKBUILD | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'testing/glog') diff --git a/testing/glog/APKBUILD b/testing/glog/APKBUILD index 3db268ddc5..e03f53d462 100644 --- a/testing/glog/APKBUILD +++ b/testing/glog/APKBUILD @@ -14,25 +14,23 @@ install="" subpackages="$pkgname-dev $pkgname-doc" source="https://github.com/google/glog/archive/v$pkgver/$pkgname-$pkgver.tar.gz" -_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 - done + default_prepare || return 1 + update_config_guess || return 1 } build() { - cd "$_builddir" - ./configure --prefix=/usr --disable-dependency-tracking --disable-rtti --with-pic || return 1 + cd "$builddir" + ./configure --prefix=/usr \ + --disable-dependency-tracking \ + --disable-rtti \ + --with-pic || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -- cgit v1.2.3