mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-01 05:52:30 +01:00
30 lines
877 B
Plaintext
30 lines
877 B
Plaintext
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
pkgname=sparse
|
|
pkgver=0.6.3
|
|
pkgrel=0
|
|
pkgdesc="A semantic parser of source files"
|
|
url="http://sparse.wiki.kernel.org/"
|
|
arch="all"
|
|
license="MIT"
|
|
depends="gcc"
|
|
makedepends="libxml2-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://www.kernel.org/pub/software/devel/sparse/dist/sparse-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
make CFLAGS="$CFLAGS" LD="${LD:-gcc}" \
|
|
AR="${AR:-ar}" CC="${CC:-gcc}"
|
|
}
|
|
|
|
package() {
|
|
make PREFIX=/usr DESTDIR="$pkgdir" install
|
|
|
|
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
|
|
install -m644 FAQ README \
|
|
Documentation/data-structures.txt \
|
|
"$pkgdir"/usr/share/doc/$pkgname/
|
|
}
|
|
|
|
sha512sums="33170065ea5967d7c640a7551acc78d7efee9f7aa6a9edf6afe2cdd8a04ea5cebe7b5dcdeebf791d384542b8bcdd4e818c75e7ae2e7aa4e1edbd56b68367b28f sparse-0.6.3.tar.xz"
|