void-packages/srcpkgs/deheader/template

32 lines
982 B
Text
Raw Normal View History

2010-12-21 09:53:52 +00:00
# Template file for 'deheader'
pkgname=deheader
2011-02-10 16:47:27 +00:00
version=0.6
2013-03-31 07:36:01 +00:00
revision=2
makedepends="python"
2010-12-21 09:53:52 +00:00
short_desc="C and C++ header analyzer"
2013-03-31 07:36:01 +00:00
homepage="http://www.catb.org/~esr/deheader/"
license="BSD"
2010-12-21 09:53:52 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://www.catb.org/~esr/deheader/$pkgname-$version.tar.gz"
2011-02-10 16:47:27 +00:00
checksum=643040b241eb47504624e9c2cc4c0f8865bf0ee2b9317ee36ee9195c75e17d4b
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."
do_install() {
2010-12-21 09:53:52 +00:00
install -d ${DESTDIR}/usr/bin
install -d ${DESTDIR}/usr/share/man/man1
2011-02-10 16:47:27 +00:00
install -m755 deheader ${DESTDIR}/usr/bin
install -m644 deheader.1 ${DESTDIR}/usr/share/man/man1
2010-12-21 09:53:52 +00:00
}
deheader_package() {
depends="python"
noarch="yes"
pkg_install() {
vmove usr
}
}