kiss-mfavila-small/ports/unofficial/stable/lua/build

13 lines
252 B
Plaintext
Raw Normal View History

#!/bin/sh -e
make MYCFLAGS="$CFLAGS -fPIC" \
MYLDFLAGS="$LDFLAGS" \
posix
make INSTALL_TOP="$1/usr" \
INSTALL_MAN="$1/usr/share/man/man1" \
INSTALL_DATA="cp -d" \
install
install -Dm 644 lua.pc "$1/usr/lib/pkgconfig/lua.pc"