Added deheader-0.4 build template.
This commit is contained in:
parent
2a6061eeba
commit
4c571871a9
1 changed files with 24 additions and 0 deletions
24
srcpkgs/deheader/template
Normal file
24
srcpkgs/deheader/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'deheader'
|
||||||
|
pkgname=deheader
|
||||||
|
version=0.4
|
||||||
|
distfiles="http://www.catb.org/~esr/deheader/$pkgname-$version.tar.gz"
|
||||||
|
build_style=custom-install
|
||||||
|
short_desc="C and C++ header analyzer"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
checksum=3630a0860320855e6f12adeb93995a156a936b7b39a6f52c13274b56a01aa3f6
|
||||||
|
long_desc="
|
||||||
|
deheader analyzes C and C++ files to determine which header inclusions can be
|
||||||
|
removed while still allowing them to compile. This may result in substantial
|
||||||
|
improvements in compilation time, especially on large C++ projects; it also
|
||||||
|
sometimes exposes dependencies and cohesions of which developers were unaware."
|
||||||
|
|
||||||
|
noarch=yes
|
||||||
|
Add_dependency full python
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
install -d ${DESTDIR}/usr/bin
|
||||||
|
install -d ${DESTDIR}/usr/share/man/man1
|
||||||
|
install -D -m755 ${wrksrc}/deheader ${DESTDIR}/usr/bin
|
||||||
|
install -D -m644 ${wrksrc}/deheader.1 ${DESTDIR}/usr/share/man/man1
|
||||||
|
}
|
Loading…
Reference in a new issue