diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-10-29 08:56:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-30 08:23:19 +0000 |
commit | 2660254dc190677a216febb221024dbe52a9f102 (patch) | |
tree | 0fe7812fbd7c02a15fef57272df3bdc6b939a680 /main/ccache | |
parent | 380a8bc7eac14666dc7dea249c163199fcac2aec (diff) | |
download | aports-2660254dc190677a216febb221024dbe52a9f102.tar.bz2 aports-2660254dc190677a216febb221024dbe52a9f102.tar.xz |
main/ccache: specify license and add missing checksums
Diffstat (limited to 'main/ccache')
-rw-r--r-- | main/ccache/APKBUILD | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/main/ccache/APKBUILD b/main/ccache/APKBUILD index 2be0e0d464..456010520b 100644 --- a/main/ccache/APKBUILD +++ b/main/ccache/APKBUILD @@ -1,19 +1,19 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ccache pkgver=3.1.9 -pkgrel=0 -pkgdesc="ccache is a compiler cache" +pkgrel=1 +pkgdesc="A fast C/C++ compiler cache" url="http://ccache.samba.org/" arch="all" -license="GPL" -subpackages="$pkgname-doc" +license="GPL3+" depends="" makedepends="" +subpackages="$pkgname-doc" source="http://samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz" -build () -{ - cd "$srcdir"/$pkgname-$pkgver +_builddir="$srcdir"/$pkgname-$pkgver +build () { + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -23,9 +23,9 @@ build () } package() { - cd "$srcdir"/$pkgname-$pkgver - install -Dm 755 ccache "$pkgdir"/usr/bin/ccache - install -Dm 644 ccache.1 "$pkgdir"/usr/share/man/man1/ccache.1 + 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 ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/cc ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/gcc @@ -38,4 +38,7 @@ package() { ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/${CHOST}-cpp ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/${CHOST}-c++ } + md5sums="367916e4ecba4968f77f59a378e61458 ccache-3.1.9.tar.gz" +sha256sums="a2270654537e4b736e437975e0cb99871de0975164a509dee34cf91e36eeb447 ccache-3.1.9.tar.gz" +sha512sums="735909e36d9d52efd917d6ebe35ecbfa57693576deb8b960677a02d2591da3b87831b7970b3e50a5f8eac1b9268d0e1d3fc35336291d825299dc275ebb06e18b ccache-3.1.9.tar.gz" |