2 # This is free software, licensed under the GNU General Public License v2.
5 include $(TOPDIR)/rules.mk
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-nano.tar.gz
11 PKG_SOURCE_URL:=http://4th.googlecode.com/files/
12 PKG_MD5SUM:=087e3a18a278046cc02abc968515646c
14 include $(INCLUDE_DIR)/package.mk
17 MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
21 URL:=http://thebeez.home.xs4all.nl/4tH/
24 define Package/4th/description
29 LIBRARIES="${PKG_INSTALL_DIR}/usr/lib" \
30 BINARIES="${PKG_INSTALL_DIR}/usr/bin"
32 -C $(PKG_BUILD_DIR)/sources -f Makefile.NAN
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/
43 $(eval $(call BuildPackage,4th))