[package] 4th: update to latest stable release v3.61.5
authorFlorian Fainelli <florian@openwrt.org>
Mon, 13 Aug 2012 14:08:46 +0000 (14:08 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 13 Aug 2012 14:08:46 +0000 (14:08 +0000)
[Florian]
- cleaned up makefile
- added PKG_MD5SUM

Signed-off-by: Xiangfu <xiangfu@openmobilefree.net>
SVN-Revision: 33172

lang/4th/Makefile

index f90a6e931f7814147d5ca1af94714f1d36a483cd..fc12d93f5685d7a5336dc1154dede544ce8cccb5 100644 (file)
@@ -5,26 +5,31 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=4th
-PKG_VERSION:=3.61.3
-PKG_RELEASE:=4
+PKG_VERSION:=3.61.5
+PKG_RELEASE:=1
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-nano.tar.gz
 PKG_SOURCE_URL:=http://4th.googlecode.com/files/
+PKG_MD5SUM:=2d6ddad0e595a7549a425ce33cebd830
 
 include $(INCLUDE_DIR)/package.mk
+
 define Package/4th
-       MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
-       TITLE:=4th
-       SECTION:=lang
-       CATEGORY:=Languages
-       URL:=http://thebeez.home.xs4all.nl/4tH/
+  MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
+  TITLE:=4th
+  SECTION:=lang
+  CATEGORY:=Languages
+  URL:=http://thebeez.home.xs4all.nl/4tH/
 endef
-PKG_BUILD_DIR:=$(BUILD_DIR)/4th-$(PKG_VERSION)
+
 define Package/4th/description
-4th forth compiler
+  4th forth compiler
 endef
 
-MAKE_VARS+=LIBRARIES="${PKG_INSTALL_DIR}/usr/lib" BINARIES="${PKG_INSTALL_DIR}/usr/bin"
-MAKE_FLAGS+=-C $(PKG_BUILD_DIR)/sources -f Makefile.NAN
+MAKE_VARS += \
+       LIBRARIES="${PKG_INSTALL_DIR}/usr/lib" \
+       BINARIES="${PKG_INSTALL_DIR}/usr/bin"
+MAKE_FLAGS += \
+       -C $(PKG_BUILD_DIR)/sources -f Makefile.NAN
 
 define Package/4th/install
        $(INSTALL_DIR) $(1)/usr/bin