vp-build/srcpkgs/deheader/template
2011-02-10 17:47:27 +01:00

25 lines
868 B
Plaintext

# Template file for 'deheader'
pkgname=deheader
version=0.6
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=643040b241eb47504624e9c2cc4c0f8865bf0ee2b9317ee36ee9195c75e17d4b
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 -m755 deheader ${DESTDIR}/usr/bin
install -m644 deheader.1 ${DESTDIR}/usr/share/man/man1
}