aboutsummaryrefslogtreecommitdiffstats
path: root/main/ccache/APKBUILD
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2016-08-28 13:01:43 -0400
committerSören Tempel <soeren+git@soeren-tempel.net>2016-09-03 13:02:38 +0200
commit70fbb0cb9375a7cab194c8b5301548448fa2e646 (patch)
treecde015b4a603f7e9d79a42bbd65a53b70eee56a0 /main/ccache/APKBUILD
parente0b27a9321e4100073944b5c2b51357fcf51f2bc (diff)
downloadaports-70fbb0cb9375a7cab194c8b5301548448fa2e646.tar.bz2
aports-70fbb0cb9375a7cab194c8b5301548448fa2e646.tar.xz
main/ccache: upgrade to 3.3
Diffstat (limited to 'main/ccache/APKBUILD')
-rw-r--r--main/ccache/APKBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/main/ccache/APKBUILD b/main/ccache/APKBUILD
index 9b7f3eb9c6..dd888e3d62 100644
--- a/main/ccache/APKBUILD
+++ b/main/ccache/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ccache
-pkgver=3.2.7
+pkgver=3.3
pkgrel=0
pkgdesc="A fast C/C++ compiler cache"
url="http://ccache.samba.org/"
@@ -9,26 +9,29 @@ license="GPL3+"
depends=""
makedepends=""
subpackages="$pkgname-doc"
-source="http://samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz"
+source="http://samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.xz"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- cd "$_builddir"
+ cd "$builddir"
update_config_sub || return 1
}
build () {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
|| return 1
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
install -Dm 755 ccache "$pkgdir"/usr/bin/ccache || return 1
install -Dm 644 ccache.1 "$pkgdir"/usr/share/man/man1/ccache.1 || return 1
mkdir -p "$pkgdir"/usr/lib/ccache/bin
@@ -44,6 +47,6 @@ package() {
ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/${CHOST}-c++
}
-md5sums="0bd544068656ff447f052402674bda3e ccache-3.2.7.tar.gz"
-sha256sums="fa26c1ff9df6df8c89da1a673ecee82b99bd680f950abdf2541b35f93827c28a ccache-3.2.7.tar.gz"
-sha512sums="86cb39bcc73d386b821dc663d8ac365d0dbff53bc9d43a0f088e240da5386feed51758044d231294cc280558405f7240885bdba21b2c04d2e0416ac9a1eb75b9 ccache-3.2.7.tar.gz"
+md5sums="012d68ee4701a5e6227d899f933cb340 ccache-3.3.tar.xz"
+sha256sums="d88e6f5f62f9ce5eeee673972a5731f76e22a5c708cfbc264ecd25a93fffba07 ccache-3.3.tar.xz"
+sha512sums="c350dcfae72904d285c5b166d45e36db11215923b13378d087f68523105c1707daa693be1be01073ee1f1b150dc93936be852a12ef893837ed718fc80dae8987 ccache-3.3.tar.xz"