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

LUAPOSIX_VERSION = 32
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 = luainterpreter host-lua
LUAPOSIX_CONF_OPTS = --libdir="/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" --datarootdir="/usr/share/lua/$(LUAINTERPRETER_ABIVER)"

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

$(eval $(autotools-package))
OpenPOWER on IntegriCloud