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
/
13 include $(INCLUDE_DIR
)/package.mk
15 MAINTAINER
:="Xiangfu Liu" <xiangfu@sharism.
cc>
19 URL
:=http
://thebeez.home.xs4all.nl
/4tH
/
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/4th-
$(PKG_VERSION
)
22 define Package
/4th
/description
26 MAKE_VARS
+=LIBRARIES
="${PKG_INSTALL_DIR}/usr/lib" BINARIES
="${PKG_INSTALL_DIR}/usr/bin"
27 MAKE_FLAGS
+=-C
$(PKG_BUILD_DIR
)/sources
-f Makefile.NAN
29 define Package
/4th
/install
30 $(INSTALL_DIR
) $(1)/usr
/bin
31 $(INSTALL_DIR
) $(1)/usr
/lib
32 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/sources
/4th
$(1)/usr
/bin
/
33 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/sources
/4tsh
$(1)/usr
/bin
/
34 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/sources
/pp4th
$(1)/usr
/bin
/
35 $(CP
) $(PKG_BUILD_DIR
)/sources
/lib4th.a
$(1)/usr
/lib
/
38 $(eval
$(call BuildPackage
,4th
))