diff options
Diffstat (limited to 'dev-libs/libwapcaplet/libwapcaplet-0.4.3-r1.ebuild')
-rw-r--r-- | dev-libs/libwapcaplet/libwapcaplet-0.4.3-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/libwapcaplet/libwapcaplet-0.4.3-r1.ebuild b/dev-libs/libwapcaplet/libwapcaplet-0.4.3-r1.ebuild new file mode 100644 index 000000000000..cb74894bb4bd --- /dev/null +++ b/dev-libs/libwapcaplet/libwapcaplet-0.4.3-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="string internment library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libwapcaplet/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~m68k-mint" +IUSE="test" + +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( >=dev-libs/check-0.9.11 )" +BDEPEND=" + >=dev-util/netsurf-buildsystem-1.7-r1" + +PATCHES=( + # bug 664288 + "${FILESDIR}/${PN}-0.4.1-makefile.patch" +) + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +} |