summaryrefslogtreecommitdiff
path: root/package/luaposix/luaposix.mk
blob: cbcdf32590a897e8500e88a3858d7407de7ae2ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
################################################################################
#
# luaposix
#
################################################################################

LUAPOSIX_VERSION = 31
LUAPOSIX_SITE = https://github.com/luaposix/luaposix/archive
LUAPOSIX_SOURCE = release-v$(LUAPOSIX_VERSION).tar.gz
LUAPOSIX_LICENSE = MIT
LUAPOSIX_LICENSE_FILES = COPYING
LUAPOSIX_DEPENDENCIES = lua host-lua
LUAPOSIX_CONF_OPT = --libdir="/usr/lib/lua" --datarootdir="/usr/share/lua"

ifeq ($(BR2_PACKAGE_NCURSES),y)
    LUAPOSIX_DEPENDENCIES += ncurses
endif

$(eval $(autotools-package))