OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | include $(TOPDIR)/rules.mk |
| 2 | |
| 3 | PKG_NAME:=txt2tags |
| 4 | PKG_VERSION:=2.6 |
| 5 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
| 6 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz |
| 7 | PKG_SOURCE_URL:=http://txt2tags.googlecode.com/files/ |
| 8 | PKG_MD5SUM:=ac09fd624f1e3a553d5f0e01271cc0ee |
| 9 | PKG_CAT:=zcat |
| 10 | |
| 11 | include $(INCLUDE_DIR)/package.mk |
| 12 | |
| 13 | define Package/txt2tags |
| 14 | TITLE:=txt2tags |
| 15 | SECTION:=utils |
| 16 | CATEGORY:=Utilities |
| 17 | DEPENDS:=+python |
| 18 | endef |
| 19 | |
| 20 | define Package/txt2tags/description |
| 21 | Tagged text converter (to LaTeX, ODT,...). |
| 22 | endef |
| 23 | |
| 24 | define Build/Compile |
| 25 | endef |
| 26 | |
| 27 | define Package/txt2tags/install |
| 28 | $(INSTALL_DIR) $(1)/usr/bin |
| 29 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/txt2tags $(1)/usr/bin |
| 30 | $(INSTALL_DIR) $(1)/usr/share/txt2tags |
| 31 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/samples/sample.txt $(1)/usr/share/txt2tags |
| 32 | endef |
| 33 | |
| 34 | $(eval $(call BuildPackage,txt2tags)) |
| 35 |
