summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2007-06-30 10:34:49 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2007-06-30 10:34:49 +0000
commitd58aa63b055f96951d95adc344173f5cf310f864 (patch)
tree7bced8891816eae9addf7ccab1f81895fd217af2 /media-libs/openjpeg/openjpeg-1.2.ebuild
parentKeyworded ~ppc; bug #177426. (diff)
downloadgentoo-2-d58aa63b055f96951d95adc344173f5cf310f864.tar.gz
gentoo-2-d58aa63b055f96951d95adc344173f5cf310f864.tar.bz2
gentoo-2-d58aa63b055f96951d95adc344173f5cf310f864.zip
Version bump.
Thanks to Matsuu Takuto for reporting wrt bug #183698. (Portage version: 2.1.3_rc5)
Diffstat (limited to 'media-libs/openjpeg/openjpeg-1.2.ebuild')
-rw-r--r--media-libs/openjpeg/openjpeg-1.2.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/openjpeg/openjpeg-1.2.ebuild b/media-libs/openjpeg/openjpeg-1.2.ebuild
new file mode 100644
index 000000000000..c91ee77230c5
--- /dev/null
+++ b/media-libs/openjpeg/openjpeg-1.2.ebuild
@@ -0,0 +1,32 @@
+# 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.2.ebuild,v 1.1 2007/06/30 10:34:49 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}/trunk"
+
+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() {
+ emake DESTDIR="${D}" INSTALL_LIBDIR="/usr/$(get_libdir)" install || die "install failed"
+
+ dodoc ChangeLog README.linux
+}