diff options
author | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2004-07-11 19:27:47 +0000 |
---|---|---|
committer | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2004-07-11 19:27:47 +0000 |
commit | b68b22e2500b610ef5450aa55b6bea3fc467be5a (patch) | |
tree | 4d5cb5c2574db6568569f8cb8c6c824cd2862a17 /media-gfx | |
parent | versionbump (Manifest recommit) (diff) | |
download | gentoo-2-b68b22e2500b610ef5450aa55b6bea3fc467be5a.tar.gz gentoo-2-b68b22e2500b610ef5450aa55b6bea3fc467be5a.tar.bz2 gentoo-2-b68b22e2500b610ef5450aa55b6bea3fc467be5a.zip |
"New package, submitted by Colin Macdonald <cbm@sfu.ca> #55473"
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/jpeg2ps/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/jpeg2ps/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/jpeg2ps/files/digest-jpeg2ps-1.9 | 1 | ||||
-rw-r--r-- | media-gfx/jpeg2ps/jpeg2ps-1.9.ebuild | 41 | ||||
-rw-r--r-- | media-gfx/jpeg2ps/metadata.xml | 6 |
5 files changed, 59 insertions, 0 deletions
diff --git a/media-gfx/jpeg2ps/ChangeLog b/media-gfx/jpeg2ps/ChangeLog new file mode 100644 index 000000000000..728359286592 --- /dev/null +++ b/media-gfx/jpeg2ps/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for media-gfx/jpeg2ps +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/ChangeLog,v 1.1 2004/07/11 19:27:47 pclouds Exp $ + +*jpeg2ps-1.9 (12 Jul 2004) + + 12 Jul 2004; <pclouds@gentoo.org> jpeg2ps-1.9.ebuild, metadata.xml: + New package, submitted by Colin Macdonald <cbm@sfu.ca> #55473 + diff --git a/media-gfx/jpeg2ps/Manifest b/media-gfx/jpeg2ps/Manifest new file mode 100644 index 000000000000..b2b0de82264f --- /dev/null +++ b/media-gfx/jpeg2ps/Manifest @@ -0,0 +1,2 @@ +MD5 2b332a3e1c5d8709e87066cdb044875d jpeg2ps-1.9.ebuild 1050 +MD5 d40db91990d9b92ba61626a89d40d818 files/digest-jpeg2ps-1.9 62 diff --git a/media-gfx/jpeg2ps/files/digest-jpeg2ps-1.9 b/media-gfx/jpeg2ps/files/digest-jpeg2ps-1.9 new file mode 100644 index 000000000000..723fead5db85 --- /dev/null +++ b/media-gfx/jpeg2ps/files/digest-jpeg2ps-1.9 @@ -0,0 +1 @@ +MD5 e654f6a584435e6717b6c2659c07db28 jpeg2ps-1.9.tar.gz 67105 diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9.ebuild new file mode 100644 index 000000000000..1b5f3b974f22 --- /dev/null +++ b/media-gfx/jpeg2ps/jpeg2ps-1.9.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/jpeg2ps-1.9.ebuild,v 1.1 2004/07/11 19:27:47 pclouds Exp $ + +DESCRIPTION="Converts JPEG images to Postscript using a wrapper" +HOMEPAGE="http://www.pdflib.com/products/more/jpeg2ps.html" +SRC_URI="http://www.pdflib.com/products/more/jpeg2ps/${P}.tar.gz" + +LICENSE="free-noncomm" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="sys-apps/sed" +RDEPEND="" + +src_compile() { + # remove the -DA4 paper size default and use our ${CFLAGS} + sed -i \ + -e "s/CFLAGS=-c -DA4$/CFLAGS=-c ${CFLAGS}/" \ + Makefile || \ + die "sed Makefile failed" + emake || die "emake failed" +} + +src_install() { + # The Makefile is hard-coded to install to /usr/local/ so we + # simply copy the files manually + dobin jpeg2ps || die "dobin failed" + doman jpeg2ps.1 || die "doman failed" + dodoc jpeg2ps.txt || die "dodoc failed" +} + +pkg_postinst() { + einfo + einfo "By default, this installation of jpeg2ps will generate" + einfo "letter size output. You can force A4 output with" + einfo " jpeg2ps -p a4 file.jpg > file.ps" + einfo +} + diff --git a/media-gfx/jpeg2ps/metadata.xml b/media-gfx/jpeg2ps/metadata.xml new file mode 100644 index 000000000000..f2405d63233c --- /dev/null +++ b/media-gfx/jpeg2ps/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-gfx</herd> +<maintainer><email>pclouds@gentoo.org</email></maintainer> +</pkgmetadata> |