kiss-mfavila-small/ports/unofficial/stable/netsurf-gtk2/build

33 lines
732 B
Plaintext
Raw Normal View History

2021-05-09 02:10:08 -04:00
#!/bin/sh -e
export CFLAGS="$CFLAGS -fcommon"
export PERL5LIB="$PWD/usr/lib/perl5/vendor_perl/5.32.0/x86_64-linux-thread-multi"
export PATH="$PATH:$PWD/xxd"
# Give the Makefile busybox compatible arguments.
sed -i "s|$(Q)$(INSTALL) -T|$(Q)$(INSTALL) -Dm755|g" \
netsurf/frontends/framebuffer/Makefile
for p in html-parser html-tagset; do (
cd "$p"
perl Makefile.PL INSTALLDIRS=vendor
make
make DESTDIR="$PWD/.." install
) done
2021-05-11 00:07:37 -04:00
make \
LIBDIR=lib \
2021-05-09 02:10:08 -04:00
INCLUDEDIR=include \
2021-05-11 00:07:37 -04:00
PREFIX=/usr \
2021-05-09 02:10:08 -04:00
TARGET=gtk2
2021-05-11 00:07:37 -04:00
make \
LIBDIR=lib \
2021-05-09 02:10:08 -04:00
INCLUDEDIR=include \
2021-05-11 00:07:37 -04:00
PREFIX=/usr \
TARGET=gtk2 \
DESTDIR="$1" \
2021-05-09 02:10:08 -04:00
install