Skip to content

Commit

Permalink
lua 5.3.3 (new plan)
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Danna <steve@chef.io>
  • Loading branch information
stevendanna committed Jul 8, 2016
1 parent 5476ac5 commit 7795186
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions lua/plan.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
pkg_origin=core
pkg_name=lua
pkg_version=5.3.3
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=5113c06884f7de453ce57702abaac1d618307f33f6789fa870e87a59d772aca2
pkg_deps=(core/glibc core/readline)
pkg_build_deps=(core/gcc core/make)
pkg_bin_dirs=(bin)
pkg_include_dirs=(include)
pkg_lib_dirs=(lib)

do_build() {
make linux MYCFLAGS="$CFLAGS" MYLDFLAGS="$LDFLAGS" INSTALL_TOP=$pkg_prefix
}

do_check() {
make test
}

do_install() {
make install INSTALL_TOP="$pkg_prefix"
}

0 comments on commit 7795186

Please sign in to comment.