Browse Source

lua-copas: Update to 2.0.2

Switched to codeload + other adjustments.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 6 years ago
parent
commit
0c4b76a3bb
2 changed files with 8 additions and 26 deletions
  1. +8
    -11
      lang/lua-copas/Makefile
  2. +0
    -15
      lang/lua-copas/patches/makefile.patch

+ 8
- 11
lang/lua-copas/Makefile View File

@ -8,18 +8,18 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=lua-copas PKG_NAME:=lua-copas
PKG_VERSION:=2.0.0
PKG_VERSION:=2.0.2
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=copas-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/keplerproject/copas/tar.gz/$(PKG_VERSION)?
PKG_HASH:=1469eaf987513f5a9a0bee345c040c8fa30ca6194bc75ad78171362f9904cf3e
PKG_BUILD_DIR:=$(BUILD_DIR)/copas-$(PKG_VERSION)
PKG_MAINTAINER:=Dirk Chang <dirk@kooiot.com> PKG_MAINTAINER:=Dirk Chang <dirk@kooiot.com>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MIRROR_HASH:=a47a8b5f6c1cf0d9fff4770a28bf7a3efdd8f37415dde8e02528f3e63f8a7899
PKG_SOURCE_URL:=https://github.com/keplerproject/copas.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=f39a80add9f7c010ac979297652bbaaea0360a27
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1 PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -47,9 +47,6 @@ define Build/Compile
install install
endef endef
# add make variable overrides here
MAKE_FLAGS +=
define Package/lua-copas/install define Package/lua-copas/install
$(INSTALL_DIR) $(1)/usr/lib/lua $(INSTALL_DIR) $(1)/usr/lib/lua
$(INSTALL_DIR) $(1)/usr/lib/lua/copas $(INSTALL_DIR) $(1)/usr/lib/lua/copas


+ 0
- 15
lang/lua-copas/patches/makefile.patch View File

@ -1,15 +0,0 @@
--- lua-copas-1.2.1_org/Makefile 2014-06-04 16:39:17.451563827 +0800
+++ lua-copas-1.2.1/Makefile 2014-06-04 16:39:41.115563309 +0800
@@ -1,10 +1,10 @@
# $Id: Makefile,v 1.3 2007/10/29 22:50:16 carregal Exp $
# Default prefix
-PREFIX = /usr/local
+PREFIX ?= $(DESTDIR)/usr
# System's lua directory (where Lua libraries are installed)
-LUA_DIR= $(PREFIX)/share/lua/5.1
+LUA_DIR= $(PREFIX)/lib/lua
install:
mkdir -p $(LUA_DIR)/copas

Loading…
Cancel
Save