aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/tr/ChangeLog10
-rw-r--r--x11-libs/tr/Manifest5
-rw-r--r--x11-libs/tr/files/1.3-Makefile.patch29
-rw-r--r--x11-libs/tr/metadata.xml8
-rw-r--r--x11-libs/tr/tr-1.3.ebuild24
5 files changed, 76 insertions, 0 deletions
diff --git a/x11-libs/tr/ChangeLog b/x11-libs/tr/ChangeLog
new file mode 100644
index 000000000..7ed79e739
--- /dev/null
+++ b/x11-libs/tr/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for x11-libs/tr
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*tr-1.3 (21 Mar 2009)
+
+ 21 Mar 2009; justin Lecher (jlec) <jlec@j-schmitz.net>
+ +files/1.3-Makefile.patch, +metadata.xml, +tr-1.3.ebuild:
+ initial checkin
+
diff --git a/x11-libs/tr/Manifest b/x11-libs/tr/Manifest
new file mode 100644
index 000000000..d3f3d3c2c
--- /dev/null
+++ b/x11-libs/tr/Manifest
@@ -0,0 +1,5 @@
+AUX 1.3-Makefile.patch 728 RMD160 dbde64bb13db1560446ff207eff63e1a766d4121 SHA1 525470d6cd087a62f9f0efbf319d346422559aaf SHA256 0c13ef815dca7280fa26a2495d0f7b236dd53fdf71113323c1a66dd26974de92
+DIST tr-1.3.tar.gz 23598 RMD160 c562a889b0cd8de19bcf2a1ada3388ef5acca0ee SHA1 811bd872c07450cffec1df5b2b0203613d28393d SHA256 75d2d66935264fe92bf13ed9538d1f167fec165fe28d26163c767ae418d7ae75
+EBUILD tr-1.3.ebuild 478 RMD160 a4ada1b56bf54ea6000d089ff5b75db393a82631 SHA1 46fb3cee6c5b04a84e8c30f004f8c9fcb069ebbc SHA256 fa72842fb1467048b332db2a17595a2dfc22419b282d736991592349f3559d41
+MISC ChangeLog 271 RMD160 743ac1ee4dd4bba873b4307b4d8e2434a857bbce SHA1 e8bde7525df3d9052c031cffaba652922ad8ef90 SHA256 b353f08da9a972402160c2260732bb996363bf1640fbc50729667cf5ffd5d9bf
+MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
diff --git a/x11-libs/tr/files/1.3-Makefile.patch b/x11-libs/tr/files/1.3-Makefile.patch
new file mode 100644
index 000000000..846209a94
--- /dev/null
+++ b/x11-libs/tr/files/1.3-Makefile.patch
@@ -0,0 +1,29 @@
+--- Makefile 2005-08-25 22:18:31.000000000 +0200
++++ Makefile.new 2009-03-21 15:11:55.000000000 +0100
+@@ -4,8 +4,8 @@
+ # You'll probably have to tweak this for your platform.
+
+
+-CC = cc
+-CFLAGS = -c -g -ansi -I/usr/local/include
++CC ?= gcc
++CFLAGS += -c -ansi -I/usr/include
+ LIBS = -L/usr/X11R6/lib -lglut -lGLU -lGL -lX11 -lXmu -lXext -lm
+
+
+@@ -19,13 +19,13 @@
+ $(CC) $(CFLAGS) tr.c
+
+ trdemo1: trdemo1.o tr.o
+- $(CC) trdemo1.o tr.o $(LIBS) -o $@
++ $(CC) $(LDFLAGS) trdemo1.o tr.o $(LIBS) -o $@
+
+ trdemo1.o: trdemo1.c tr.h
+ $(CC) $(CFLAGS) trdemo1.c
+
+ trdemo2: trdemo2.o tr.o
+- $(CC) trdemo2.o tr.o $(LIBS) -o $@
++ $(CC) $(LDFLAGS) trdemo2.o tr.o $(LIBS) -o $@
+
+ trdemo2.o: trdemo2.c tr.h
+ $(CC) $(CFLAGS) trdemo2.c
diff --git a/x11-libs/tr/metadata.xml b/x11-libs/tr/metadata.xml
new file mode 100644
index 000000000..efb490d78
--- /dev/null
+++ b/x11-libs/tr/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>
diff --git a/x11-libs/tr/tr-1.3.ebuild b/x11-libs/tr/tr-1.3.ebuild
new file mode 100644
index 000000000..0cac786f1
--- /dev/null
+++ b/x11-libs/tr/tr-1.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="An OpenGL utility library for doing tiled rendering"
+HOMEPAGE="http://www.mesa3d.org/brianp/TR.html"
+SRC_URI="http://www.mesa3d.org/brianp/tr-1.3.tar.gz"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+RDEPEND="virtual/glut"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-Makefile.patch
+}