Root/o3read/Makefile

1# 2010-06-22 22:44 jirka $
2
3include $(TOPDIR)/rules.mk
4
5PKG_NAME:=o3read
6PKG_VERSION:=0.0.4
7PKG_RELEASE:=2
8
9PKG_SOURCE:=o3read-$(PKG_VERSION).tar.gz
10PKG_SOURCE_URL:=http://siag.nu/pub/o3read/
11PKG_MD5SUM:=583361b559ccf5a764edb586795d1b06
12PKG_CAT:=zcat
13
14PKG_BUILD_DIR:=$(BUILD_DIR)/o3read-$(PKG_VERSION)
15
16include $(INCLUDE_DIR)/package.mk
17
18define Package/o3read
19    SECTION:=utils
20    CATEGORY:=Utilities
21    TITLE:=O3read
22    URL:=http://siag.nu/o3read/
23endef
24
25define Package/o3read/description
26    Converts OpenOffice.org Writer files to plain text.
27endef
28
29define Build/Configure
30    $(call Build/Configure/Default, \
31        --prefix=/usr --with-linux-headers="$(LINUX_DIR)" \
32        export READLINE=1 \
33    )
34endef
35
36define Package/o3read/install
37    $(INSTALL_DIR) $(1)/usr/bin/
38    $(INSTALL_BIN) $(PKG_BUILD_DIR)/o3read $(1)/usr/bin/
39    $(INSTALL_BIN) $(PKG_BUILD_DIR)/o3totxt $(1)/usr/bin/
40    $(INSTALL_BIN) $(PKG_BUILD_DIR)/o3tohtml $(1)/usr/bin/
41    $(INSTALL_BIN) $(PKG_BUILD_DIR)/utf8tolatin1 $(1)/usr/bin/
42endef
43
44$(eval $(call BuildPackage,o3read))
45

Archive Download this file



interactive