summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Ammann <philipp.ammann@posteo.de>2019-10-27 08:42:52 +0000
committerJoonas Niilola <juippis@gentoo.org>2019-12-04 16:48:33 +0200
commit8e3c012f1122b40d6849cec7686650c7cc4e9161 (patch)
treeda8de0ea7a3b2a331f8da13ea282b780b84bce89 /dev-libs/libwapcaplet/libwapcaplet-0.4.2.ebuild
parentnet-libs/libdom: version bump to 0.4.0 (diff)
downloadgentoo-8e3c012f1122b40d6849cec7686650c7cc4e9161.tar.gz
gentoo-8e3c012f1122b40d6849cec7686650c7cc4e9161.tar.bz2
gentoo-8e3c012f1122b40d6849cec7686650c7cc4e9161.zip
dev-libs/libwapcaplet: bump to version 0.4.2
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Philipp Ammann <philipp.ammann@posteo.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/libwapcaplet/libwapcaplet-0.4.2.ebuild')
-rw-r--r--dev-libs/libwapcaplet/libwapcaplet-0.4.2.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/libwapcaplet/libwapcaplet-0.4.2.ebuild b/dev-libs/libwapcaplet/libwapcaplet-0.4.2.ebuild
new file mode 100644
index 000000000000..c62c904c326f
--- /dev/null
+++ b/dev-libs/libwapcaplet/libwapcaplet-0.4.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+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"
+
+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() {
+ source /usr/share/netsurf-buildsystem/gentoo-helpers.sh
+ netsurf_define_makeconf
+ emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@
+}
+
+src_compile() {
+ _emake
+}
+
+src_test() {
+ _emake test
+}
+
+src_install() {
+ _emake DESTDIR="${ED}" install
+}