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
This commit is contained in:
Juan RP 2014-12-12 09:48:27 +01:00
parent 88ec07f2f3
commit 919113fa78
1 changed files with 1 additions and 2 deletions

View File

@ -10,11 +10,10 @@ distfiles="http://www.gentoo.com/di/${pkgname}-${version}.tar.gz"
checksum=2cdfface7a85e3a359cb228277b090a0648cabe18520e43b09919bdaf67b71d2
do_build() {
make
make CC=$CC CFLAGS="$CFLAGS"
}
do_install() {
make INSTALL_DIR="${DESTDIR}/usr" install
vman di.1
vlicense LICENSE
}