Ver código fonte

luaexpat: update to 1.3.0

Signed-off-by: W. Michael Petullo <mike@flyn.org>
W. Michael Petullo 10 anos atrás
pai
commit
117238889d
2 arquivos alterados com 5 adições e 15 exclusões
  1. 5
    5
      lang/luaexpat/Makefile
  2. 0
    10
      lang/luaexpat/patches/001-compile-fix.patch

+ 5
- 5
lang/luaexpat/Makefile Ver arquivo

@@ -8,12 +8,12 @@
8 8
 include $(TOPDIR)/rules.mk
9 9
 
10 10
 PKG_NAME:=luaexpat
11
-PKG_VERSION:=1.2.0
11
+PKG_VERSION:=1.3.0
12 12
 PKG_RELEASE:=1
13 13
 
14 14
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 15
 PKG_SOURCE_URL:=http://matthewwild.co.uk/projects/luaexpat
16
-PKG_MD5SUM:=03efe50c7f30a34580701e6527d7bfee
16
+PKG_MD5SUM:=3c20b5795e7107f847f8da844fbfe2da
17 17
 
18 18
 include $(INCLUDE_DIR)/package.mk
19 19
 
@@ -37,8 +37,8 @@ endef
37 37
 define Build/Compile
38 38
 	$(CP) files/compat-5.1r5 $(PKG_BUILD_DIR)/compat-5.1r5
39 39
 	$(MAKE) -C $(PKG_BUILD_DIR) \
40
-	EXPAT_INC="$(STAGING_DIR)/usr/include/" \
41
-	LUA_INC="$(STAGING_DIR)/usr/include/" \
40
+	EXPAT_INC="-I$(STAGING_DIR)/usr/include/" \
41
+	LUA_INC="-I$(STAGING_DIR)/usr/include/" \
42 42
 	LUA_LIBDIR="$(STAGING_DIR)/usr/lib/" \
43 43
 	COMPAT_DIR="$(PKG_BUILD_DIR)/compat-5.1r5" \
44 44
 	LIB_OPTION="-shared $(TARGET_LDFLAGS)" \
@@ -48,7 +48,7 @@ endef
48 48
 
49 49
 define Package/luaexpat/install
50 50
 	$(INSTALL_DIR) $(1)/usr/lib/lua
51
-	$(INSTALL_DATA) $(PKG_BUILD_DIR)/src/lxp.so.1.2.0 $(1)/usr/lib/lua/lxp.so
51
+	$(INSTALL_DATA) $(PKG_BUILD_DIR)/src/lxp.so $(1)/usr/lib/lua/lxp.so
52 52
 	$(INSTALL_DIR) $(1)/usr/lib/lua/lxp
53 53
 	$(INSTALL_DATA) $(PKG_BUILD_DIR)/src/lxp/lom.lua $(1)/usr/lib/lua/lxp
54 54
 endef

+ 0
- 10
lang/luaexpat/patches/001-compile-fix.patch Ver arquivo

@@ -1,10 +0,0 @@
1
---- a/config
2
-+++ b/config
3
-@@ -31,6 +31,6 @@
4
-         -Wshadow \
5
-         -Wwrite-strings
6
- 
7
--CFLAGS = $(CWARNS) -ansi -O2 -I$(LUA_INC) \
8
-+CFLAGS = $(CWARNS) -O2 -I$(LUA_INC) \
9
-    -I$(COMPAT_DIR) -I$(EXPAT_INC)
10
- CC = gcc