summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-07-17 23:20:37 +0000
committerMichael Weber <xmw@gentoo.org>2012-07-17 23:20:37 +0000
commit8a92c183020bb0879abb846c93e8c3f5f8a92d70 (patch)
treec56800154d3fa5d1b2b747e9a3d52ef7a21a4200 /media-libs/libnsgif
parentVersion bump. (diff)
downloadgentoo-2-8a92c183020bb0879abb846c93e8c3f5f8a92d70.tar.gz
gentoo-2-8a92c183020bb0879abb846c93e8c3f5f8a92d70.tar.bz2
gentoo-2-8a92c183020bb0879abb846c93e8c3f5f8a92d70.zip
Initial import
(Portage version: 2.1.11.7/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libnsgif')
-rw-r--r--media-libs/libnsgif/ChangeLog9
-rw-r--r--media-libs/libnsgif/Manifest3
-rw-r--r--media-libs/libnsgif/libnsgif-0.0.3.ebuild46
-rw-r--r--media-libs/libnsgif/metadata.xml9
4 files changed, 67 insertions, 0 deletions
diff --git a/media-libs/libnsgif/ChangeLog b/media-libs/libnsgif/ChangeLog
new file mode 100644
index 000000000000..4af956d21450
--- /dev/null
+++ b/media-libs/libnsgif/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-libs/libnsgif
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libnsgif/ChangeLog,v 1.1 2012/07/17 23:20:37 xmw Exp $
+
+*libnsgif-0.0.3 (17 Jul 2012)
+
+ 17 Jul 2012; Michael Weber <xmw@gentoo.org> +libnsgif-0.0.3.ebuild,
+ +metadata.xml:
+ Initial import
diff --git a/media-libs/libnsgif/Manifest b/media-libs/libnsgif/Manifest
new file mode 100644
index 000000000000..fd72b1921bf7
--- /dev/null
+++ b/media-libs/libnsgif/Manifest
@@ -0,0 +1,3 @@
+DIST libnsgif-0.0.3-src.tar.gz 213099 SHA256 7a1e6873bec6814289b653c630714246adc1040cc8b250c78bb309eaf8d5f19c SHA512 0e05dceca1c00d7b68139993ff4475bb974185b224a4edecf7a8b91b8088eb230b0f29d05cd67addc5281926bfbfeed394cdae7fb0c96ff62d9a54b0a019e5d4 WHIRLPOOL c340267bcda52568254cc48b75f4c6c133c559f05a017177aee37976c708d966df00c406197b59d38569f95b468c6a42e265a0a99c0edb073cc005a369064102
+EBUILD libnsgif-0.0.3.ebuild 1194 SHA256 d9ff03a63c974bf727a00403af6875c1ee2bac8c7e4bf3e0014b164eda27bcb7 SHA512 aa6af714ec7ab6ea840b14d9e27d88bb4d2b7a8237c71ae26220dee1f87f2359cc410d9e3232620436768e6f2d44c3790412a8957f52d2652c5bb69314270e83 WHIRLPOOL 4c481d307e55b203bc7b1be46b79d60f610ac9c5beb6669acf630db14f1c0c235bd3f0571f5378d083b5766f35fbb87045a592a5f1029521f0464c3e5b09f9c8
+MISC metadata.xml 224 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7 SHA512 4f78d959809ec0db2f9be2a7747d572fa8ee03d177044dd46574881a6ee83736510b76062c12daecae609282d197ba466e8a3e3a654b1383e04c659acd41bef5 WHIRLPOOL 0300a228d371c918b051bc24859dfe4e5d0d2a71b80f697f202749c5aca69efcee4be6e69454c9abfa4ced28e19a9d1f71d6d7eaf54290b8d03b5c04fd209868
diff --git a/media-libs/libnsgif/libnsgif-0.0.3.ebuild b/media-libs/libnsgif/libnsgif-0.0.3.ebuild
new file mode 100644
index 000000000000..6d7984b270f7
--- /dev/null
+++ b/media-libs/libnsgif/libnsgif-0.0.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libnsgif/libnsgif-0.0.3.ebuild,v 1.1 2012/07/17 23:20:37 xmw Exp $
+
+EAPI=4
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="decoding library for the GIF image file format, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/libnsgif/"
+SRC_URI="http://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm"
+IUSE="static-libs"
+
+RDEPEND=""
+DEPEND=""
+
+src_prepare() {
+ sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \
+ -e "s:-Werror::g" \
+ -i Makefile || die
+ sed -e "/^libdir/s:/lib:/$(get_libdir):g" \
+ -i libnsgif.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 COMPONENT_TYPE=lib-shared DESTDIR="${D}" PREFIX=/usr install
+ use static-libs && \
+ emake COMPONENT_TYPE=lib-static DESTDIR="${D}" PREFIX=/usr install
+}
diff --git a/media-libs/libnsgif/metadata.xml b/media-libs/libnsgif/metadata.xml
new file mode 100644
index 000000000000..59acc2cc580e
--- /dev/null
+++ b/media-libs/libnsgif/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+