1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-29 01:01:53 +02:00
openwrt-packages/gtypist/Makefile

39 lines
1.1 KiB
Makefile
Raw Normal View History

#
# 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
2012-03-11 04:37:38 +02:00
PKG_RELEASE:=2
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/
2011-10-14 16:14:56 +03:00
DEPENDS:=+libncurses
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/
2011-10-14 16:14:56 +03:00
$(INSTALL_DIR) $(1)/usr/share/gtypist
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gtypist $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/lessons/*.typ $(1)/usr/share/gtypist/
endef
$(eval $(call BuildPackage,gtypist))