summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-07-18 15:32:21 +0000
committerMichael Weber <xmw@gentoo.org>2012-07-18 15:32:21 +0000
commit98dfbda525f5af507078e7da0353a1894dab8a39 (patch)
tree0bb730f31a1c9d6d5542c378dcbf444d6682585a /media-libs/libsvgtiny
parentInitial import (diff)
downloadgentoo-2-98dfbda525f5af507078e7da0353a1894dab8a39.tar.gz
gentoo-2-98dfbda525f5af507078e7da0353a1894dab8a39.tar.bz2
gentoo-2-98dfbda525f5af507078e7da0353a1894dab8a39.zip
Version bump to netsurf-2.9 tarball
(Portage version: 2.1.11.8/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libsvgtiny')
-rw-r--r--media-libs/libsvgtiny/ChangeLog7
-rw-r--r--media-libs/libsvgtiny/libsvgtiny-0.0.2.ebuild55
2 files changed, 61 insertions, 1 deletions
diff --git a/media-libs/libsvgtiny/ChangeLog b/media-libs/libsvgtiny/ChangeLog
index ff263a821c99..f43297ff1079 100644
--- a/media-libs/libsvgtiny/ChangeLog
+++ b/media-libs/libsvgtiny/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libsvgtiny
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsvgtiny/ChangeLog,v 1.2 2012/07/18 11:04:24 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsvgtiny/ChangeLog,v 1.3 2012/07/18 15:32:21 xmw Exp $
+
+*libsvgtiny-0.0.2 (18 Jul 2012)
+
+ 18 Jul 2012; Michael Weber <xmw@gentoo.org> +libsvgtiny-0.0.2.ebuild:
+ Version bump to netsurf-2.9 tarball
18 Jul 2012; Michael Weber <xmw@gentoo.org>
libsvgtiny-0.0.2_pre20120629.ebuild, libsvgtiny-9999.ebuild:
diff --git a/media-libs/libsvgtiny/libsvgtiny-0.0.2.ebuild b/media-libs/libsvgtiny/libsvgtiny-0.0.2.ebuild
new file mode 100644
index 000000000000..88309a6c2df4
--- /dev/null
+++ b/media-libs/libsvgtiny/libsvgtiny-0.0.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsvgtiny/libsvgtiny-0.0.2.ebuild,v 1.1 2012/07/18 15:32:21 xmw Exp $
+
+EAPI=4
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="framebuffer abstraction library, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/libsvgtiny/"
+SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-2.9-full-src.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm"
+IUSE="static-libs"
+
+RDEPEND=""
+DEPEND="dev-util/gperf
+ virtual/pkgconfig"
+
+src_unpack() {
+ default
+ mv netsurf-2.9/${P} . || die
+ rm -r netsurf-2.9 || die
+}
+
+src_prepare() {
+ sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \
+ -i Makefile || die
+ sed -e "/^libdir/s:/lib:/$(get_libdir):g" \
+ -i ${PN}.pc.in || die
+ echo "Q := " >> Makefile.config.override
+ echo "CC := $(tc-getCC)" >> Makefile.config.override
+ echo "AR := $(tc-getAR)" >> Makefile.config.override
+}
+
+src_compile() {
+ emake COMPONENT_TYPE=lib-shared
+ use static-libs && \
+ emake COMPONENT_TYPE=lib-static
+}
+
+src_test() {
+ emake COMPONENT_TYPE=lib-shared test
+ use static-libs && \
+ emake COMPONENT_TYPE=lib-static test
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr COMPONENT_TYPE=lib-shared install
+ use static-libs && \
+ emake DESTDIR="${D}" PREFIX=/usr COMPONENT_TYPE=lib-static install
+ dodoc README
+}