void-packages/srcpkgs/xdu/template

22 lines
619 B
Text
Raw Normal View History

2014-07-03 18:18:13 +00:00
# Template file for 'xdu'
pkgname=xdu
version=3.0
2014-10-19 21:16:53 +00:00
revision=3
wrksrc=${pkgname}-${version}.orig
2014-07-03 18:18:13 +00:00
makedepends="libXaw-devel"
short_desc="Display the output of du(1) in an X window"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
2014-07-08 10:02:51 +00:00
license="MIT/X11"
2014-10-19 21:16:53 +00:00
homepage="http://web.archive.org/web/20131111062856/http://sd.wareonearth.com/~phil/xdu/"
distfiles="$DEBIAN_SITE/main/x/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=42c018597e31fade56e44b21ed7041f23756532df6e114b5475b4a50cd4df881
2014-07-03 18:18:13 +00:00
do_build() {
2014-10-19 21:16:53 +00:00
$CC $CFLAGS -o xdu xdu.c xwin.c $LDFLAGS -lXt -lXaw -lX11
2014-07-03 18:18:13 +00:00
}
do_install() {
2014-10-19 21:16:53 +00:00
vbin xdu
vman xdu.man xdu.1
2014-07-03 18:18:13 +00:00
}