From d8fa13903083778221e40b779c95924822475a40 Mon Sep 17 00:00:00 2001 From: Jiri Brozovsky Date: Mon, 5 Sep 2011 22:13:39 +0200 Subject: [PATCH] Txt2tags text to LaTeX/HTML/Lout/Man/Wiki/.. converter. --- txt2tags/Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 txt2tags/Makefile diff --git a/txt2tags/Makefile b/txt2tags/Makefile new file mode 100644 index 0000000..f5a5cf8 --- /dev/null +++ b/txt2tags/Makefile @@ -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))