[package] 4th: update to latest stable release v3.61.5

[Florian]
- cleaned up makefile
- added PKG_MD5SUM

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

git-svn-id: svn://svn.openwrt.org/openwrt/packages@33172 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2012-08-13 14:08:46 +00:00
parent 2e63625484
commit fc85d2fa0d

View File

@ -5,12 +5,14 @@
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
@ -18,13 +20,16 @@ define Package/4th
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
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