diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-17 20:42:13 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-17 21:03:42 +0000 |
commit | 202b3e0d66928098f687ca116f9c52fae19f6e0d (patch) | |
tree | 1ee982c0670957e7ac8bc366a543663d3e216d3e /testing/glog | |
parent | adc45c05e46dacb6cef51398bf20224e0c50da0c (diff) | |
download | aports-202b3e0d66928098f687ca116f9c52fae19f6e0d.tar.bz2 aports-202b3e0d66928098f687ca116f9c52fae19f6e0d.tar.xz |
testing/glog: update config.guess
Diffstat (limited to 'testing/glog')
-rw-r--r-- | testing/glog/APKBUILD | 20 |
1 files changed, 9 insertions, 11 deletions
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 } |