summaryrefslogtreecommitdiff
path: root/media-libs/libemf/libemf-1.0.13.ebuild
blob: 105e129bbfbdc85423abe2bfe28869a454efb4cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Library implementation of ECMA-234 API for the generation of enhanced metafiles"
HOMEPAGE="http://libemf.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/libemf/${P}.tar.gz"

LICENSE="LGPL-2.1 GPL-2"
SLOT="0"
KEYWORDS="amd64 -arm ppc ppc64 ~riscv ~sparc x86"
IUSE="doc static-libs"

src_configure() {
	econf \
		--enable-editing \
		$(use_enable static-libs static)
}

src_install() {
	use doc && HTML_DOCS=( doc/html/. )
	default
	use static-libs || find "${D}" -name '*.la' -type f -delete
}