luarocks: separate build and install

> install doesn't depend on build so (on OSX) the symlink is
> created first and doesn't have execute permissions. These
> steps should be separated.

See #1017
pull/1017/head
Boris Nagaev 9 years ago
parent 43cb3196e6
commit c7885483fd

@ -29,9 +29,10 @@ define $(PKG)_BUILD_SHARED
--with-lua-bin='$(PREFIX)/bin' \
--with-downloader='wget' \
--with-md5-checker='openssl'
$(MAKE) -C '$(1)' build install \
$(MAKE) -C '$(1)' build \
LUAROCKS_UNAME_S="MXE" \
LUAROCKS_UNAME_M="$(TARGET)"
$(MAKE) -C '$(1)' install
ln -sf '$(PREFIX)/$(TARGET)/bin/luarocks' '$(PREFIX)/bin/$(TARGET)-luarocks'
# create wine wrapper for testing

Loading…
Cancel
Save