[packages] jamvm: Bump release number, update copyright date
[packages.git] / lang / 4th / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 #
4
5 include $(TOPDIR)/rules.mk
6
7 PKG_NAME:=4th
8 PKG_VERSION:=3.62.0
9 PKG_RELEASE:=1
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-nano.tar.gz
11 PKG_SOURCE_URL:=http://4th.googlecode.com/files/
12 PKG_MD5SUM:=087e3a18a278046cc02abc968515646c
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define Package/4th
17   MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
18   TITLE:=4th
19   SECTION:=lang
20   CATEGORY:=Languages
21   URL:=http://thebeez.home.xs4all.nl/4tH/
22 endef
23
24 define Package/4th/description
25   4th forth compiler
26 endef
27
28 MAKE_VARS += \
29         LIBRARIES="${PKG_INSTALL_DIR}/usr/lib" \
30         BINARIES="${PKG_INSTALL_DIR}/usr/bin"
31 MAKE_FLAGS += \
32         -C $(PKG_BUILD_DIR)/sources -f Makefile.NAN
33
34 define Package/4th/install
35         $(INSTALL_DIR) $(1)/usr/bin
36         $(INSTALL_DIR) $(1)/usr/lib
37         $(INSTALL_BIN) $(PKG_BUILD_DIR)/sources/4th $(1)/usr/bin/
38         $(INSTALL_BIN) $(PKG_BUILD_DIR)/sources/4tsh $(1)/usr/bin/
39         $(INSTALL_BIN) $(PKG_BUILD_DIR)/sources/pp4th $(1)/usr/bin/
40         $(CP) $(PKG_BUILD_DIR)/sources/lib4th.a $(1)/usr/lib/
41 endef
42
43 $(eval $(call BuildPackage,4th))