mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
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:
parent
88ec07f2f3
commit
919113fa78
1 changed files with 1 additions and 2 deletions
|
@ -10,11 +10,10 @@ distfiles="http://www.gentoo.com/di/${pkgname}-${version}.tar.gz"
|
||||||
checksum=2cdfface7a85e3a359cb228277b090a0648cabe18520e43b09919bdaf67b71d2
|
checksum=2cdfface7a85e3a359cb228277b090a0648cabe18520e43b09919bdaf67b71d2
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make
|
make CC=$CC CFLAGS="$CFLAGS"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make INSTALL_DIR="${DESTDIR}/usr" install
|
make INSTALL_DIR="${DESTDIR}/usr" install
|
||||||
vman di.1
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue