Created
February 15, 2017 04:50
-
-
Save smith/7f9d5038e49aac7834e26be105d716ff to your computer and use it in GitHub Desktop.
Lua 5.1 plan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkg_origin=core | |
pkg_name=lua | |
pkg_version=5.1.5 | |
pkg_description="A powerful, efficient, lightweight, embeddable scripting language" | |
pkg_upstream_url="https://www.lua.org/" | |
pkg_license=("MIT") | |
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>" | |
pkg_source="https://www.lua.org/ftp/lua-${pkg_version}.tar.gz" | |
pkg_shasum=2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333 | |
pkg_deps=(core/glibc core/readline core/ncurses) | |
pkg_build_deps=(core/gcc core/make) | |
pkg_bin_dirs=(bin) | |
pkg_include_dirs=(include) | |
pkg_lib_dirs=(lib) | |
do_build() { | |
make linux INSTALL_TOP="$pkg_prefix" MYCFLAGS="$CFLAGS" MYLDFLAGS="$LDFLAGS" | |
} | |
do_check() { | |
make test | |
} | |
do_install() { | |
make install INSTALL_TOP="$pkg_prefix" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment