--- /dev/null
+# ChangeLog for media-libs/openjpeg
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/ChangeLog,v 1.1 2007/03/06 14:45:58 drizzt Exp $
+
+*openjpeg-1.1.1 (06 Mar 2007)
+
+ 06 Mar 2007; Timothy Redaelli <drizzt@gentoo.org>
+ +files/openjpeg-1.1.1-Makefile.patch, +metadata.xml,
+ +openjpeg-1.1.1.ebuild:
+ New ebuild, thanks to Guido wrt bug #127026
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX openjpeg-1.1.1-Makefile.patch 558 RMD160 485ed66f0db6df3e657fa7fb09a333eae12f9cdb SHA1 5d78c5d2230cc03605e28437a7d84edfb4c230a6 SHA256 216925794ff95f720f910ef414256abf41cf2fb50a1b4cc9e65e3eb812f1b758
+MD5 d9bf3f12260c4e3b78d6baeb9b072e93 files/openjpeg-1.1.1-Makefile.patch 558
+RMD160 485ed66f0db6df3e657fa7fb09a333eae12f9cdb files/openjpeg-1.1.1-Makefile.patch 558
+SHA256 216925794ff95f720f910ef414256abf41cf2fb50a1b4cc9e65e3eb812f1b758 files/openjpeg-1.1.1-Makefile.patch 558
+DIST openjpeg_v1_1_1.tar.gz 1406460 RMD160 08b2318441075a8704d6b9b0ac3d9d277c44d85e SHA1 1de6f9ccebe8844c96416daca521a20a84df23f5 SHA256 6076db131bfaa966a691d718044e5b5cdbec028436be3b7a3f146d1a0e3a7ec6
+EBUILD openjpeg-1.1.1.ebuild 903 RMD160 6052a16b3a1f8aa812337d3cc0705ee8772568a8 SHA1 125837121fb9aaeea5b0736666205094fdc396b3 SHA256 6329547273eeecfdf13b0b9ce3be02d76817e2f0aa07c26fd26438cfb15e4c45
+MD5 96d09e382959f746fd0c4313a89c43a8 openjpeg-1.1.1.ebuild 903
+RMD160 6052a16b3a1f8aa812337d3cc0705ee8772568a8 openjpeg-1.1.1.ebuild 903
+SHA256 6329547273eeecfdf13b0b9ce3be02d76817e2f0aa07c26fd26438cfb15e4c45 openjpeg-1.1.1.ebuild 903
+MISC ChangeLog 422 RMD160 75c0949da22507a5a82612904e2b436852e769d3 SHA1 3951262f7b9fa1a64c9fb2178b091fc8981d7792 SHA256 d7b47247b577854cecff76f7699da8a61b9d218b47e8134fcb7fdaf3600d8963
+MD5 39e9bbcd76f08ab7b6a755302f47f4b9 ChangeLog 422
+RMD160 75c0949da22507a5a82612904e2b436852e769d3 ChangeLog 422
+SHA256 d7b47247b577854cecff76f7699da8a61b9d218b47e8134fcb7fdaf3600d8963 ChangeLog 422
+MISC metadata.xml 222 RMD160 c0fe8198bb72a6bed198a1dd7005ed607711db2a SHA1 a3b2631fffe918fa2b814a269297dfc9e6c355cb SHA256 35319607d0186f4c2b026c636392c56bafa68c71a17a67364e5c530156eb22b4
+MD5 99cf1c24b27d2fe42b99b95fadff0290 metadata.xml 222
+RMD160 c0fe8198bb72a6bed198a1dd7005ed607711db2a metadata.xml 222
+SHA256 35319607d0186f4c2b026c636392c56bafa68c71a17a67364e5c530156eb22b4 metadata.xml 222
+MD5 fcdc3157bb74483f5e444836db0580b6 files/digest-openjpeg-1.1.1 250
+RMD160 f90411a7b6c5b72cc42ab7e7c217f554dad5d4f6 files/digest-openjpeg-1.1.1 250
+SHA256 d1a1fb2cc3299dae27b36b9ef21418fa213b29ee2709dcd67a2dd597498e4155 files/digest-openjpeg-1.1.1 250
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFF7X6wGDyatLGpTbYRAt2GAJ96cWLn32k8wsg/2Peyqb9U8bCV5wCeJpZ2
+26vsfbSXr23FBJ8PtDgR7GA=
+=KFY5
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 55ce1119efd3efb3d689ca2105afd10e openjpeg_v1_1_1.tar.gz 1406460
+RMD160 08b2318441075a8704d6b9b0ac3d9d277c44d85e openjpeg_v1_1_1.tar.gz 1406460
+SHA256 6076db131bfaa966a691d718044e5b5cdbec028436be3b7a3f146d1a0e3a7ec6 openjpeg_v1_1_1.tar.gz 1406460
--- /dev/null
+--- OpenJPEG/Makefile.orig 2007-02-13 09:49:00.000000000 +0100
++++ OpenJPEG/Makefile 2007-02-28 08:28:58.000000000 +0100
+@@ -36,7 +36,7 @@
+ dist: OpenJPEG
+ mkdir -p dist
+ cp *.a dist
+- mv *.so dist
++ cp *.so dist
+ cp libopenjpeg/openjpeg.h dist
+
+ dos2unix:
+@@ -51,7 +51,7 @@
+ $(AR) r $@ $(MODULES)
+
+ $(SHAREDLIB): $(MODULES)
+- $(CC) -s -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
++ $(CC) $(LDFLAGS) -s -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
+
+ install:
+ install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>drizzt@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/openjpeg-1.1.1.ebuild,v 1.1 2007/03/06 14:45:58 drizzt Exp $
+
+inherit flag-o-matic toolchain-funcs multilib
+
+DESCRIPTION="An open-source JPEG 2000 codec written in C"
+HOMEPAGE="http://www.openjpeg.org/"
+SRC_URI="http://www.openjpeg.org/openjpeg_v${PV//./_}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/OpenJPEG"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+}
+
+src_compile() {
+ append-flags -fPIC
+ emake CC="$(tc-getCC)" AR="$(tc-getAR)" COMPILERFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dodir /usr/$(get_libdir)
+ emake INSTALLDIR="${D}usr/$(get_libdir)" install || die "install failed"
+
+ insinto /usr/include
+ doins libopenjpeg/openjpeg.h
+
+ dodoc README.linux
+}