summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-06-06 21:07:45 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-06-06 21:07:45 +0000
commitd513c4e9390255ce8569051aa3555714947f159c (patch)
tree7d7347f86ef45d859c1b590ad1c7438240ffe3f0 /media-libs/ming
parentppc stable #272842 (diff)
downloadgentoo-2-d513c4e9390255ce8569051aa3555714947f159c.tar.gz
gentoo-2-d513c4e9390255ce8569051aa3555714947f159c.tar.bz2
gentoo-2-d513c4e9390255ce8569051aa3555714947f159c.zip
Reinstate. Ploticus needs this.
(Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'media-libs/ming')
-rw-r--r--media-libs/ming/ChangeLog5
-rw-r--r--media-libs/ming/ming-0.2a.ebuild44
2 files changed, 48 insertions, 1 deletions
diff --git a/media-libs/ming/ChangeLog b/media-libs/ming/ChangeLog
index 0538b8d156d2..658d78c3c61d 100644
--- a/media-libs/ming/ChangeLog
+++ b/media-libs/ming/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/ming
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.51 2009/06/05 16:17:01 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.52 2009/06/06 21:07:44 loki_val Exp $
+
+ 06 Jun 2009; Peter Alfredsen <loki_val@gentoo.org> +ming-0.2a.ebuild:
+ Reinstate. Ploticus needs this.
05 Jun 2009; Peter Alfredsen <loki_val@gentoo.org> -ming-0.2a.ebuild,
-ming-0.2a-r3.ebuild, metadata.xml:
diff --git a/media-libs/ming/ming-0.2a.ebuild b/media-libs/ming/ming-0.2a.ebuild
new file mode 100644
index 000000000000..eaca9df00af6
--- /dev/null
+++ b/media-libs/ming/ming-0.2a.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.2a.ebuild,v 1.28 2009/06/06 21:07:45 loki_val Exp $
+
+inherit eutils toolchain-funcs multilib
+
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
+
+DESCRIPTION="An Open Source library for Flash movie generation."
+HOMEPAGE="http://www.opaque.net/ming/"
+SRC_URI="http://www.opaque.net/ming/${P}.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-fpic.patch"
+ epatch "${FILESDIR}/${P}-gentoo.diff"
+}
+
+src_compile() {
+ cd "${S}"
+ make CC="$(tc-getCC) -Wall" all static || die "make failed"
+ cd util
+ make CC="$(tc-getCC) -Wall" bindump hexdump listswf listfdb listmp3 listjpeg makefdb swftophp || die "make utils failed"
+}
+
+src_install() {
+ dolib.so libming.so || die "dolib.so libming.so failed"
+ dolib.a libming.a || die "dolib.a libming.a failed"
+
+ insinto /usr/include
+ doins ming.h || die "doins ming.h failed"
+
+ exeinto /usr/$(get_libdir)/ming
+ doexe util/{bindump,hexdump,listswf,listfdb,listmp3,listjpeg,makefdb,swftophp} || die "doexe utils failed"
+
+ dodoc CHANGES CREDITS README TODO
+ newdoc util/README README.util
+ newdoc util/TODO TODO.util
+}