summaryrefslogtreecommitdiff
path: root/catdoc
diff options
context:
space:
mode:
authorDavid Kühling <dvdkhlng@gmx.de>2010-09-18 20:47:21 +0200
committerDavid Kühling <dvdkhlng@gmx.de>2010-09-18 20:47:21 +0200
commit4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 (patch)
tree58590463ada82a27eca0889312c32450358249a8 /catdoc
downloadqipackages-fork-4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09.tar.gz
Major overhaul and cleanup. Support for .ubi image file installations.grafted
Only compile&install a minimum host Gforth for bootstrapping the target Gforth, removing strange emacs-dependencies that cropped up earlier. Image file can now be built on the nanonote using 'gforth-update-image' command. Also, Gforth is now run through a wrapper that calls 'gforth-update-image' automatically, if necessary. Also first attempts at supporting libcc C-interface libraries pre-compiled on the host. Tested to compile on amd64 and i386.
Diffstat (limited to 'catdoc')
-rw-r--r--catdoc/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/catdoc/Makefile b/catdoc/Makefile
new file mode 100644
index 0000000..09d1890
--- /dev/null
+++ b/catdoc/Makefile
@@ -0,0 +1,50 @@
+# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=catdoc
+PKG_VERSION:=0.94
+PKG_RELEASE:=3
+
+PKG_SOURCE:=catdoc-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://site.n.ml.org/download/20050502084842/catdoc/
+ PKG_MD5SUM:=f884dabe366d66c6cda35dacb0cdceab
+ PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/catdoc-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/catdoc
+ SECTION:=utils
+ CATEGORY:=Utilities
+ TITLE:=Catdoc
+ URL:=http://site.n.ml.org/info/catdoc/
+endef
+
+define Package/catdoc/description
+ "Office" to plain text converters.
+ The catdoc, catppt and xls2csv tools are included.
+endef
+
+define Build/Configure
+ $(call Build/Configure/Default, \
+ --prefix=/usr \
+ )
+endef
+
+define Package/catdoc/install
+ $(INSTALL_DIR) $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/catdoc $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/xls2csv $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/catppt $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/share/
+ $(INSTALL_DIR) $(1)/usr/share/catdoc/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/charsets/*.* $(1)/usr/share/catdoc/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/charsets/ascii.spc $(1)/usr/share/catdoc/ascii.specchars
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/charsets/ascii.rpl $(1)/usr/share/catdoc/ascii.replchars
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/charsets/tex.spc $(1)/usr/share/catdoc/tex.specchars
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/charsets/tex.rpl $(1)/usr/share/catdoc/tex.replchars
+endef
+
+$(eval $(call BuildPackage,catdoc))