From d7402ee77aca0da08442f0d0b930d90dac460af2 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Thu, 13 Oct 2011 10:47:27 +0800 Subject: [PATCH] new package: gtypist a universal typing tutor --- gtypist/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 gtypist/Makefile diff --git a/gtypist/Makefile b/gtypist/Makefile new file mode 100644 index 0000000..97f95a3 --- /dev/null +++ b/gtypist/Makefile @@ -0,0 +1,36 @@ +# +# This is free software, licensed under the GNU General Public License v2. +# If this works, I'll be a better hacker! +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=gtypist +PKG_VERSION:=2.8.5 +PKG_RELEASE:=1 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/gtypist/ +PKG_BUILD_DIR:=$(BUILD_DIR)/gtypist-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +# Definition of the package, for adding to menuconfig and creating the ipkg. +define Package/gtypist + TITLE:=GNU typist from FSF + SECTION:=games + CATEGORY:=Games + URL:=http://www.gnu.org/software/gtypist/ + DEPENDS:=+ncurses +endef + +# Long description of the package +define Package/gtypist/description +GNU Typist (also called gtypist) is a universal typing tutor. You can learn correct typing and improve your skills by practicing its exercises on a regular basis. +endef + +define Package/gtypist/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gtypist $(1)/usr/bin +endef + +$(eval $(call BuildPackage,gtypist))