1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-24 20:02:28 +02:00

Txt2tags text to LaTeX/HTML/Lout/Man/Wiki/.. converter.

This commit is contained in:
Jiri Brozovsky 2011-09-05 22:13:39 +02:00
parent 9745415772
commit d8fa139030

34
txt2tags/Makefile Normal file
View File

@ -0,0 +1,34 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=txt2tags
PKG_VERSION:=2.6
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://txt2tags.googlecode.com/files/
PKG_MD5SUM:=ac09fd624f1e3a553d5f0e01271cc0ee
PKG_CAT:=zcat
include $(INCLUDE_DIR)/package.mk
define Package/txt2tags
TITLE:=txt2tags
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+python
endef
define Package/txt2tags/description
Tagged text converter (to LaTeX, ODT,...).
endef
define Build/Compile
endef
define Package/txt2tags/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/txt2tags $(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/share/txt2tags
$(INSTALL_BIN) $(PKG_BUILD_DIR)/samples/sample.txt $(1)/usr/share/txt2tags
endef
$(eval $(call BuildPackage,txt2tags))