|
@@ -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
|