New package: sparse-0.5.2
This commit is contained in:
parent
ea77eb3610
commit
3fc196c078
2 changed files with 31 additions and 0 deletions
1
srcpkgs/sparse-devel
Symbolic link
1
srcpkgs/sparse-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
sparse
|
30
srcpkgs/sparse/template
Normal file
30
srcpkgs/sparse/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'sparse'
|
||||
pkgname=sparse
|
||||
version=0.5.2
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_use_env=yes
|
||||
short_desc="Semantic Parser for C"
|
||||
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
|
||||
license="MIT"
|
||||
homepage="https://git.kernel.org/pub/scm/devel/sparse/sparse.git"
|
||||
distfiles="${homepage}/snapshot/${pkgname}-${version}.tar.gz"
|
||||
checksum=5ca5b7be7240a97fbdc6194f18d64837f9af070aeb0c3052f0a5d014acf1d048
|
||||
|
||||
pre_build() {
|
||||
make_build_args="CC=$CC LD=$CC AR=$AR"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
sparse-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue