packages/lang/4th/Makefile
juhosg 4e924b5213 4th: update to 3.62.0
This patch update 4th from 3.61.5 to 3.62.0. tested on xburst/ben
nanonote and ar71xx/703n.

URL: http://thebeez.home.xs4all.nl/4tH/
ChangeLog: http://lists.en.qi-hardware.com/pipermail/discussion/2012-December/009979.html

Patchwork: http://patchwork.openwrt.org/patch/3078/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@34932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 18:00:02 +00:00

44 lines
1.1 KiB
Makefile

#
# This is free software, licensed under the GNU General Public License v2.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=4th
PKG_VERSION:=3.62.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-nano.tar.gz
PKG_SOURCE_URL:=http://4th.googlecode.com/files/
PKG_MD5SUM:=087e3a18a278046cc02abc968515646c
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/
endef
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
define Package/4th/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sources/4th $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sources/4tsh $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sources/pp4th $(1)/usr/bin/
$(CP) $(PKG_BUILD_DIR)/sources/lib4th.a $(1)/usr/lib/
endef
$(eval $(call BuildPackage,4th))