diff options
author | Justin Lecher (jlec) <jlec@j-schmitz.net> | 2009-03-21 14:16:13 +0100 |
---|---|---|
committer | Justin Lecher (jlec) <jlec@j-schmitz.net> | 2009-03-21 14:16:50 +0100 |
commit | f4f83abebddf967fcec25445d549b5f04866713d (patch) | |
tree | 5f181e8dca3d2fae0f6cd5ff91316a63e380815b | |
parent | sci-libs/msms added -> bug 209161 (diff) | |
download | sci-f4f83abebddf967fcec25445d549b5f04866713d.tar.gz sci-f4f83abebddf967fcec25445d549b5f04866713d.tar.bz2 sci-f4f83abebddf967fcec25445d549b5f04866713d.zip |
media-libs/freejpeg initial checkin
-rw-r--r-- | media-libs/freejpeg/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/freejpeg/Manifest | 4 | ||||
-rw-r--r-- | media-libs/freejpeg/files/6b-destdir.patch | 39 | ||||
-rw-r--r-- | media-libs/freejpeg/freejpeg-6b.ebuild | 35 | ||||
-rw-r--r-- | media-libs/freejpeg/metadata.xml | 8 |
5 files changed, 96 insertions, 0 deletions
diff --git a/media-libs/freejpeg/ChangeLog b/media-libs/freejpeg/ChangeLog new file mode 100644 index 000000000..e7b65e4ab --- /dev/null +++ b/media-libs/freejpeg/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-libs/freejpeg +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*freejpeg-6b (21 Mar 2009) + + 21 Mar 2009; justin Lecher (jlec) <jlec@j-schmitz.net> + +files/6b-destdir.patch, +metadata.xml, +freejpeg-6b.ebuild: + initial checkin + diff --git a/media-libs/freejpeg/Manifest b/media-libs/freejpeg/Manifest new file mode 100644 index 000000000..df867adb2 --- /dev/null +++ b/media-libs/freejpeg/Manifest @@ -0,0 +1,4 @@ +AUX 6b-destdir.patch 1637 RMD160 8b13ddd4f4964fca335562abe9b749c18bb19c10 SHA1 6ec1bd44c685700c102707e8a1202490dfce6753 SHA256 60f688c4d9e5d61ddb1b30e3b47d683a672927a45903f0a5cb8a505aacd9c380 +DIST jpegsrc.v6b.tar.gz 613261 RMD160 18892206014fbb8cae2a44e281f4ed53feaf7882 SHA1 7079f0d6c42fad0cfba382cf6ad322add1ace8f9 SHA256 75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d +EBUILD freejpeg-6b.ebuild 709 RMD160 22230b79b7f9e7a9bf7bed9eb843bc7cd4b9e3e1 SHA1 1a5173ab54680d9ef09c55133a81787568cec9e7 SHA256 6100cb50c1e22186a5e093de47dde1d1a23dc161cfa95edeb389f0ba376c96e2 +MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c diff --git a/media-libs/freejpeg/files/6b-destdir.patch b/media-libs/freejpeg/files/6b-destdir.patch new file mode 100644 index 000000000..98e60f6e6 --- /dev/null +++ b/media-libs/freejpeg/files/6b-destdir.patch @@ -0,0 +1,39 @@ +--- makefile.cfg 1998-03-21 20:08:57.000000000 +0100 ++++ makefile.cfg.new 2009-03-21 14:14:16.000000000 +0100 +@@ -9,8 +9,8 @@ + VPATH = @srcdir@ + + # Where to install the programs and man pages. +-prefix = @prefix@ +-exec_prefix = @exec_prefix@ ++prefix = $(DESTDIR)/@prefix@ ++exec_prefix = $(DESDIT)/@exec_prefix@ + bindir = $(exec_prefix)/bin + libdir = $(exec_prefix)/lib + includedir = $(prefix)/include +@@ -191,11 +191,13 @@ + # Installation rules: + + install: cjpeg djpeg jpegtran rdjpgcom wrjpgcom @FORCE_INSTALL_LIB@ ++ [[ -d $(bindir) ]] || mkdir -p $(bindir) + $(INSTALL_PROGRAM) cjpeg $(bindir)/$(binprefix)cjpeg + $(INSTALL_PROGRAM) djpeg $(bindir)/$(binprefix)djpeg + $(INSTALL_PROGRAM) jpegtran $(bindir)/$(binprefix)jpegtran + $(INSTALL_PROGRAM) rdjpgcom $(bindir)/$(binprefix)rdjpgcom + $(INSTALL_PROGRAM) wrjpgcom $(bindir)/$(binprefix)wrjpgcom ++ [[ -d $(mandir) ]] || mkdir -p $(mandir) + $(INSTALL_DATA) $(srcdir)/cjpeg.1 $(mandir)/$(manprefix)cjpeg.$(manext) + $(INSTALL_DATA) $(srcdir)/djpeg.1 $(mandir)/$(manprefix)djpeg.$(manext) + $(INSTALL_DATA) $(srcdir)/jpegtran.1 $(mandir)/$(manprefix)jpegtran.$(manext) +@@ -203,9 +205,11 @@ + $(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(mandir)/$(manprefix)wrjpgcom.$(manext) + + install-lib: libjpeg.$(A) install-headers ++ [[ -d $(libdir) ]] || mkdir -p $(libdir) + $(INSTALL_LIB) libjpeg.$(A) $(libdir)/$(binprefix)libjpeg.$(A) + + install-headers: jconfig.h ++ [[ -d $(includedir) ]] || mkdir -p $(includedir) + $(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h + $(INSTALL_DATA) $(srcdir)/jpeglib.h $(includedir)/jpeglib.h + $(INSTALL_DATA) $(srcdir)/jmorecfg.h $(includedir)/jmorecfg.h diff --git a/media-libs/freejpeg/freejpeg-6b.ebuild b/media-libs/freejpeg/freejpeg-6b.ebuild new file mode 100644 index 000000000..058b138a5 --- /dev/null +++ b/media-libs/freejpeg/freejpeg-6b.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="C software to implement JPEG image compression and" +HOMEPAGE="decompressionftp://ftp.uu.net/graphics/jpeg" +SRC_URI="ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v${PV}.tar.gz" + +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" +RDEPEND="" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/jpeg-${PV} + +src_prepare() { + epatch "${FILESDIR}"/${PV}-destdir.patch +} + +src_test() { + emake test || die "test failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc README {wizard,usage,libjpeg,structure}.doc change.log || die "no docs" +} diff --git a/media-libs/freejpeg/metadata.xml b/media-libs/freejpeg/metadata.xml new file mode 100644 index 000000000..efb490d78 --- /dev/null +++ b/media-libs/freejpeg/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> + <email>sci@gentoo.org</email> +</maintainer> +</pkgmetadata> |