wv2-0.4.2-r2.ebuild 753 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright 1999-2013 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit cmake-utils
  5. DESCRIPTION="Excellent MS Word filter lib, used in most Office suites"
  6. HOMEPAGE="http://wvware.sourceforge.net"
  7. SRC_URI="mirror://sourceforge/wvware/${P}.tar.bz2"
  8. LICENSE="LGPL-2"
  9. SLOT="0"
  10. KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
  11. IUSE="zlib"
  12. RDEPEND="dev-libs/glib
  13. >=gnome-extra/libgsf-1.8:=
  14. virtual/libiconv
  15. zlib? ( sys-libs/zlib )
  16. "
  17. DEPEND="${RDEPEND}"
  18. DOCS=( AUTHORS ChangeLog README RELEASE THANKS TODO )
  19. PATCHES=(
  20. "${FILESDIR}/${P}-glib.patch"
  21. "${FILESDIR}/${P}-libgsf.patch"
  22. )
  23. src_configure() {
  24. local mycmakeargs=(
  25. $(cmake-utils_use_with zlib)
  26. )
  27. cmake-utils_src_configure
  28. }