void-packages/srcpkgs/deheader/template

25 lines
888 B
Text
Raw Normal View History

2010-12-21 09:53:52 +00:00
# Template file for 'deheader'
pkgname=deheader
2010-12-23 23:15:18 +00:00
version=0.5
2010-12-21 09:53:52 +00:00
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>"
2010-12-23 23:15:18 +00:00
checksum=c516cede506f79865e97b142ca07c88bdfd9969f2607fc526b99ed13660ecbe2
2010-12-21 09:53:52 +00:00
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
2010-12-21 09:58:58 +00:00
install -m755 ${wrksrc}/deheader ${DESTDIR}/usr/bin
install -m644 ${wrksrc}/deheader.1 ${DESTDIR}/usr/share/man/man1
2010-12-21 09:53:52 +00:00
}