diff options
Diffstat (limited to 'testing')
-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 } |