summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2016-11-04 12:19:22 +0800
committerYixun Lan <dlan@gentoo.org>2016-11-04 12:19:22 +0800
commit6a2bc43172b801b6d95981174349e33f9071cbfd (patch)
tree254edfb91f836212beb669b51026f9f3c410a099 /app-officeext/ooofbtools/ooofbtools-2.47.ebuild
parentnet-misc/megatools: drop old (diff)
downloadgentoo-6a2bc43172b801b6d95981174349e33f9071cbfd.tar.gz
gentoo-6a2bc43172b801b6d95981174349e33f9071cbfd.tar.bz2
gentoo-6a2bc43172b801b6d95981174349e33f9071cbfd.zip
app-officeext/ooofbtools: version bump
Gentoo-Bug: 593864 Package-Manager: portage-2.3.2
Diffstat (limited to 'app-officeext/ooofbtools/ooofbtools-2.47.ebuild')
-rw-r--r--app-officeext/ooofbtools/ooofbtools-2.47.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/app-officeext/ooofbtools/ooofbtools-2.47.ebuild b/app-officeext/ooofbtools/ooofbtools-2.47.ebuild
new file mode 100644
index 000000000000..6d10908d013b
--- /dev/null
+++ b/app-officeext/ooofbtools/ooofbtools-2.47.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PN="OOoFBTools"
+
+OFFICE_EXTENSIONS=(
+ "${MY_PN}.oxt"
+)
+
+inherit office-ext-r1
+
+DESCRIPTION="OpenOffice extension for the FictionBook2 format with validation"
+HOMEPAGE="https://sourceforge.net/projects/fbtools/"
+SRC_URI="mirror://sourceforge/fbtools/files/release/${MY_PN}-${PV}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-libs/libxml2
+ app-arch/zip"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+OFFICE_EXTENSIONS_LOCATION="${S}"
+
+src_prepare() {
+ # Remove Windows cruft
+ pushd "${WORKDIR}/${MY_PN}.oxt" 2>/dev/null || die
+ rm -r win32 || die
+ popd 2>/dev/null || die
+}
+
+src_install() {
+ office-ext-r1_src_install
+ dodoc ChangeLog*
+}