diff options
Diffstat (limited to 'app-text/htmldoc')
-rw-r--r-- | app-text/htmldoc/htmldoc-1.9.11-r1.ebuild (renamed from app-text/htmldoc/htmldoc-1.9.11.ebuild) | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/app-text/htmldoc/htmldoc-1.9.11.ebuild b/app-text/htmldoc/htmldoc-1.9.11-r1.ebuild index fb0d4a82ad14..b506567a49ab 100644 --- a/app-text/htmldoc/htmldoc-1.9.11.ebuild +++ b/app-text/htmldoc/htmldoc-1.9.11-r1.ebuild @@ -9,14 +9,17 @@ DESCRIPTION="Convert HTML pages into a PDF document" HOMEPAGE="http://www.msweet.org/projects.php?Z1" SRC_URI="https://github.com/michaelrsweet/${PN}/releases/download/v${PV}/${P}-source.tar.gz" -IUSE="fltk" SLOT="0" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="fltk ssl" +BDEPEND="virtual/pkgconfig" DEPEND=" >=media-libs/libpng-1.4:0= + sys-libs/zlib virtual/jpeg:0 + ssl? ( net-libs/gnutls ) fltk? ( x11-libs/fltk:1 ) " RDEPEND="${DEPEND}" @@ -38,8 +41,16 @@ src_prepare() { } src_configure() { - CC="$(tc-getCC)" CXX="$(tc-getCXX)" DSTROOT="${ED}" econf \ + local myeconfargs=( $(use_with fltk gui) + $(use_enable ssl) + $(use_enable ssl gnutls) + --disable-localjpeg + --disable-localpng + --disable-localzlib + ) + + CC="$(tc-getCC)" CXX="$(tc-getCXX)" DSTROOT="${ED}" econf "${myeconfargs[@]}" } src_install() { |