mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
main/ccache: add check
This commit is contained in:
parent
14351ecc2e
commit
ad1e7fcc90
@ -2,7 +2,7 @@
|
|||||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||||
pkgname=ccache
|
pkgname=ccache
|
||||||
pkgver=3.3.5
|
pkgver=3.3.5
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="A fast C/C++ compiler cache"
|
pkgdesc="A fast C/C++ compiler cache"
|
||||||
url="http://ccache.samba.org/"
|
url="http://ccache.samba.org/"
|
||||||
arch="all"
|
arch="all"
|
||||||
@ -31,6 +31,11 @@ build() {
|
|||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$builddir"
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
install -Dm 755 ccache "$pkgdir"/usr/bin/ccache
|
install -Dm 755 ccache "$pkgdir"/usr/bin/ccache
|
||||||
|
Loading…
Reference in New Issue
Block a user