void-packages/srcpkgs/di/template
Juan RP 919113fa78 di: multiple cleanups.
- Override CC and CFLAGS to allow cross compilation.
- No need to use vman, di.1 is installed by the software Makefile.

Close #695 #712
2014-12-12 09:48:27 +01:00

20 lines
465 B
Plaintext

# Template file for 'di'
pkgname=di
version=4.35
revision=1
short_desc="A disk information utility"
maintainer="Michael Fellinger <mf@dotabuff.com>"
homepage="http://www.gentoo.com/di"
license="zlib"
distfiles="http://www.gentoo.com/di/${pkgname}-${version}.tar.gz"
checksum=2cdfface7a85e3a359cb228277b090a0648cabe18520e43b09919bdaf67b71d2
do_build() {
make CC=$CC CFLAGS="$CFLAGS"
}
do_install() {
make INSTALL_DIR="${DESTDIR}/usr" install
vlicense LICENSE
}