summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-03-02 17:47:54 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-03-02 17:47:54 +0000
commit57bb6f9ce610a3773e13d5c1de6a77dec585e148 (patch)
tree112a8c8e778e1e27bd0662ce84d506397f1445c6 /media-gfx/tif22pnm
parentOld. (diff)
downloadgentoo-2-57bb6f9ce610a3773e13d5c1de6a77dec585e148.tar.gz
gentoo-2-57bb6f9ce610a3773e13d5c1de6a77dec585e148.tar.bz2
gentoo-2-57bb6f9ce610a3773e13d5c1de6a77dec585e148.zip
Initial commit wrt #334551 by "Sven" and "Timur"
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/tif22pnm')
-rw-r--r--media-gfx/tif22pnm/ChangeLog10
-rw-r--r--media-gfx/tif22pnm/Manifest5
-rw-r--r--media-gfx/tif22pnm/files/tif22pnm-0.14-gentoo.patch44
-rw-r--r--media-gfx/tif22pnm/metadata.xml5
-rw-r--r--media-gfx/tif22pnm/tif22pnm-0.14.ebuild29
5 files changed, 93 insertions, 0 deletions
diff --git a/media-gfx/tif22pnm/ChangeLog b/media-gfx/tif22pnm/ChangeLog
new file mode 100644
index 000000000000..e49daae106fa
--- /dev/null
+++ b/media-gfx/tif22pnm/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-gfx/tif22pnm
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tif22pnm/ChangeLog,v 1.1 2012/03/02 17:47:54 ssuominen Exp $
+
+*tif22pnm-0.14 (02 Mar 2012)
+
+ 02 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> +tif22pnm-0.14.ebuild,
+ +files/tif22pnm-0.14-gentoo.patch:
+ Initial commit wrt #334551 by "Sven" and "Timur"
+
diff --git a/media-gfx/tif22pnm/Manifest b/media-gfx/tif22pnm/Manifest
new file mode 100644
index 000000000000..d53ba3dcf301
--- /dev/null
+++ b/media-gfx/tif22pnm/Manifest
@@ -0,0 +1,5 @@
+AUX tif22pnm-0.14-gentoo.patch 982 RMD160 5302a1eec2a51a28d469c353d33838040e226229 SHA1 9430419a66d2a0a7ae708bb7697a1f0573476d93 SHA256 cac51e31cdbe7e96520d0f196b5105210f74bc448c195df83565d240f6a4fe12
+DIST tif22pnm-0.14.tar.gz 108047 RMD160 5f9600ce4e0eec9592717747a117219031a90508 SHA1 e6fd68a66866acb8d338b38e58b1f9a2a9fe0abb SHA256 d59ea3f1fdd6802e66a44fbfa8979d4e61c9fd021de36675249a877392378e01
+EBUILD tif22pnm-0.14.ebuild 600 RMD160 beaa2b370fe33f46f4d1aebd66b3dab648ecdf11 SHA1 69e0af2d437ad457970d07d2220cf08634800160 SHA256 d2c0df8a9600f6b7d5213731692cd986f006b1c761cf8ee5183c025c40f8905a
+MISC ChangeLog 315 RMD160 c4afd07c56d98e664e727f390805b0d5af44767a SHA1 2acd5b8478e6bb02204f31d638c4b938ac2b4f95 SHA256 2c36913f794fcdd3aed3c7f59dc3de6fe5bf98ca509b8985a86709cf8232019a
+MISC metadata.xml 157 RMD160 e666a9e73ee48e70d6fc6ea78049d38b1fcde7c2 SHA1 43a0c32101f0c6ffd8fa1aa620c8032d194a9e3a SHA256 18238fb417d8677a0495cdaba9b043526174ba63b51494b88b10aa7dd903124c
diff --git a/media-gfx/tif22pnm/files/tif22pnm-0.14-gentoo.patch b/media-gfx/tif22pnm/files/tif22pnm-0.14-gentoo.patch
new file mode 100644
index 000000000000..f71c751bd1a5
--- /dev/null
+++ b/media-gfx/tif22pnm/files/tif22pnm-0.14-gentoo.patch
@@ -0,0 +1,44 @@
+--- configure.in
++++ configure.in
+@@ -21,7 +21,6 @@
+ dnl Checks for programs.
+ AC_PROG_CC
+ AC_LANG_C
+-CFLAGS=" "
+ dnl ^^^ set it to non-empty, so AC_PROG_CXX won't include `-g'
+ dnl AC_PROG_CXX
+ dnl AC_PTS_PROG_CFLAGS(fs, -fsigned-char)
+--- do.sh
++++ do.sh
+@@ -35,8 +35,8 @@
+ if [ x"$CMD" != x ]; then echo "Executing: $CMD"; fi
+
+ if [ "$CMD" = fast ]; then
+- L_CC="$CC -s -O3 -DNDEBUG"
+- L_LD="$LD -s"
++ L_CC="$CC -DNDEBUG"
++ L_LD="$LD"
+ elif [ "$CMD" = debug ]; then
+ L_CC="$CC $GFLAG"
+ L_LD="$LD"
+@@ -47,14 +47,14 @@
+ L_CC="checkergcc $GFLAG"
+ L_LD="checkergcc"
+ elif [ "$CMD" = small ]; then
+- L_CC="$CC -Os -DNDEBUG"
+- L_LD="$LD -s"
++ L_CC="$CC -DNDEBUG"
++ L_LD="$LD"
+ elif [ "$CMD" = final ]; then
+- L_CC="$CC -O2 -DNDEBUG"
+- L_LD="$LD -s"
++ L_CC="$CC -DNDEBUG"
++ L_LD="$LD"
+ elif [ "$CMD" = asserted ]; then
+- L_CC="$CC -O2"
+- L_LD="$LD -s"
++ L_CC="$CC"
++ L_LD="$LD"
+ elif [ "$CMD" = clean ]; then
+ rm -f *.o core DEADJOE tif22pnm png22pnm
+ exit
diff --git a/media-gfx/tif22pnm/metadata.xml b/media-gfx/tif22pnm/metadata.xml
new file mode 100644
index 000000000000..21ff3a538481
--- /dev/null
+++ b/media-gfx/tif22pnm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>tex</herd>
+</pkgmetadata>
diff --git a/media-gfx/tif22pnm/tif22pnm-0.14.ebuild b/media-gfx/tif22pnm/tif22pnm-0.14.ebuild
new file mode 100644
index 000000000000..59a5368eed8a
--- /dev/null
+++ b/media-gfx/tif22pnm/tif22pnm-0.14.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tif22pnm/tif22pnm-0.14.ebuild,v 1.1 2012/03/02 17:47:54 ssuominen Exp $
+
+EAPI=4
+inherit autotools eutils
+
+DESCRIPTION="tif22pnm and png22pnm command-line converters"
+HOMEPAGE="http://pts.szit.bme.hu/ http://code.google.com/p/sam2p/"
+SRC_URI="http://sam2p.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=media-libs/libpng-1.2:0
+ media-libs/tiff:0"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ eautoreconf
+}
+
+src_install() {
+ dobin png22pnm tif22pnm
+ dodoc README
+}