mirror of
https://github.com/optim-enterprises-bv/meta-openwrt.git
synced 2025-10-30 01:32:24 +00:00
This gets rid of some warnings with Yocto master. - does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls. - uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
34 lines
983 B
BlitzBasic
34 lines
983 B
BlitzBasic
# Copyright (C) 2015 Khem Raj <raj.khem@gmail.com>
|
|
# Copyright (C) 2018 Daniel Dickinson <cshored@thecshore.com>
|
|
|
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
|
|
|
DESCRIPTION = "Networking extension library for Lua"
|
|
HOMEPAGE = "https://github.com/diegonehab/luasocket"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=ab6706baf6d39a6b0fa2613a3b0831e7"
|
|
|
|
DEPENDS += "lua5.1-native lua5.1"
|
|
|
|
SRC_URI = "git://github.com/diegonehab/luasocket.git;protocol=https;branch=master \
|
|
"
|
|
|
|
SRCREV = "5b18e475f38fcf28429b1cc4b17baee3b9793a62"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit openwrt
|
|
|
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
|
|
|
CFLAGS += "-I${STAGING_INCDIR}/lua5.1"
|
|
EXTRA_OEMAKE += "PLAT=linux LUAINC_linux_base=${STAGING_INCDIR} LUAPREFIX_linux=${prefix} DESTDIR=${D} \
|
|
CC_linux='${CC}' LD_linux='${CC}' LUAV=5.1"
|
|
|
|
do_install() {
|
|
oe_runmake install
|
|
}
|
|
|
|
FILES:${PN} += "${libdir}/* ${datadir}/lua/5.*/"
|
|
FILES:${PN}-dbg += "${libdir}/lua/5.*/.debug ${libdir}/lua/5.*/*/.debug"
|