gtkwave: fix crossbuild

This commit is contained in:
Enno Boland 2018-08-09 13:23:05 +02:00
parent 88e2f4ca0b
commit 9eacebcbf9
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
1 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,13 @@ homepage="http://gtkwave.sourceforge.net/"
distfiles="http://gtkwave.sourceforge.net/gtkwave-${version}.tar.gz"
checksum=53f5ba3f6c4e231c2cc712411f6bf22bb22569af2801ace97eedd05df6332121
pre_build() {
if [ "$CROSS_BUILD" ]; then
make -C contrib/pccts/antlr CC=cc LD=ld CFLAGS= LDFLAGS=
make -C contrib/pccts/dlg CC=cc LD=ld CFLAGS= LDFLAGS=
fi
}
post_install() {
vlicense LICENSE.TXT
}