aboutsummaryrefslogtreecommitdiffstats
path: root/testing/glog/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-07-31 21:51:33 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-08-02 06:00:57 +0000
commit44c4de0fc2df18c821b1745c28e9cbcb0d5e8feb (patch)
tree26740d8bde3bd1b683f3cc93dadec5348b54c953 /testing/glog/APKBUILD
parent7c69d8e3a236b3724cf402e00fe639b3988dece1 (diff)
downloadaports-44c4de0fc2df18c821b1745c28e9cbcb0d5e8feb.tar.bz2
aports-44c4de0fc2df18c821b1745c28e9cbcb0d5e8feb.tar.xz
testing/glog: upgrade to 0.3.5 and modernize
Diffstat (limited to 'testing/glog/APKBUILD')
-rw-r--r--testing/glog/APKBUILD21
1 files changed, 8 insertions, 13 deletions
diff --git a/testing/glog/APKBUILD b/testing/glog/APKBUILD
index e03f53d462..f7df0769e2 100644
--- a/testing/glog/APKBUILD
+++ b/testing/glog/APKBUILD
@@ -1,23 +1,20 @@
# Contributor: David Huffman <storedbox@outlook.com>
# Maintainer: David Huffman <storedbox@outlook.com>
pkgname=glog
-pkgver=0.3.4
+pkgver=0.3.5
pkgrel=0
pkgdesc="C++ implementation of the Google logging module"
url="https://github.com/google/glog"
arch="all"
license="BSD"
-depends=""
-depends_dev=""
-makedepends="$depends_dev"
-install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/google/glog/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
+
prepare() {
- default_prepare || return 1
- update_config_guess || return 1
+ default_prepare
+ update_config_guess
}
build() {
@@ -25,15 +22,13 @@ build() {
./configure --prefix=/usr \
--disable-dependency-tracking \
--disable-rtti \
- --with-pic || return 1
- make || return 1
+ --with-pic
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="df92e05c9d02504fb96674bc776a41cb glog-0.3.4.tar.gz"
-sha256sums="ce99d58dce74458f7656a68935d7a0c048fa7b4626566a71b7f4e545920ceb10 glog-0.3.4.tar.gz"
-sha512sums="139525b546a9eccacc9bebf7cc3053ba52229e9488485ad45344c3d3134ca819d3b571250c0e3a6d84097009c8be89b0f4fa16ef5ec838ffcc237ae11c3a034c glog-0.3.4.tar.gz"
+sha512sums="a54a3b8b4b7660d7558ba5168c659bc3c8323c30908a4f6a4bbc6f9cd899350f3243aabc720daebfdeb799b276b51ba1eaa1a0f83149c4e1a038d552ada1ed72 glog-0.3.5.tar.gz"