diff options
author | Peter Gavin <pete@gentoo.org> | 2001-03-11 22:13:01 +0000 |
---|---|---|
committer | Peter Gavin <pete@gentoo.org> | 2001-03-11 22:13:01 +0000 |
commit | d4dc99616d2dc9d071ced526a30fb905237fd034 (patch) | |
tree | c392597f4b4e5943f08cdc88e7611ae8dbeb9216 /app-misc | |
parent | fixum (diff) | |
download | gentoo-2-d4dc99616d2dc9d071ced526a30fb905237fd034.tar.gz gentoo-2-d4dc99616d2dc9d071ced526a30fb905237fd034.tar.bz2 gentoo-2-d4dc99616d2dc9d071ced526a30fb905237fd034.zip |
added ttmkfdir and eject-2.0.2
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/ttmkfdir/files/digest-ttmkfdir-0.0 | 1 | ||||
-rw-r--r-- | app-misc/ttmkfdir/files/ttmkfdir-0.0-gentoo.diff | 46 | ||||
-rw-r--r-- | app-misc/ttmkfdir/ttmkfdir-0.0.ebuild | 31 |
3 files changed, 78 insertions, 0 deletions
diff --git a/app-misc/ttmkfdir/files/digest-ttmkfdir-0.0 b/app-misc/ttmkfdir/files/digest-ttmkfdir-0.0 new file mode 100644 index 000000000000..cc84f5dfe1dd --- /dev/null +++ b/app-misc/ttmkfdir/files/digest-ttmkfdir-0.0 @@ -0,0 +1 @@ +MD5 dcf6aa4d28f5c52acf2bb57f49f53089 ttmkfdir.tar.gz diff --git a/app-misc/ttmkfdir/files/ttmkfdir-0.0-gentoo.diff b/app-misc/ttmkfdir/files/ttmkfdir-0.0-gentoo.diff new file mode 100644 index 000000000000..37d8f7055b68 --- /dev/null +++ b/app-misc/ttmkfdir/files/ttmkfdir-0.0-gentoo.diff @@ -0,0 +1,46 @@ +diff -ur ttmkfdir.orig/Makefile ttmkfdir/Makefile +--- ttmkfdir.orig/Makefile Thu Sep 10 12:54:26 1998 ++++ ttmkfdir/Makefile Thu Mar 1 15:29:38 2001 +@@ -1,10 +1,11 @@ +-FREETYPE_BASE=../freetype-1.1 +-FREETYPE_INCL=$(FREETYPE_BASE)/lib +-FREETYPE_LIB=-L$(FREETYPE_BASE)/lib/.libs -lttf ++FREETYPE_BASE=/usr ++FREETYPE_INCL=-I$(FREETYPE_BASE)/include ++FREETYPE_LIB=-L$(FREETYPE_BASE)/lib -lttf + + CC=gcc +-CFLAGS=-Wall -pedantic -I$(FREETYPE_INCL) +-LDFALGS=$(FREETYPE_LIB) -s ++OPT=-O2 ++CFLAGS=$(OPT) -Wall -pedantic $(FREETYPE_INCL) ++LDFLAGS=$(FREETYPE_LIB) + + all: ttmkfdir + +@@ -18,7 +19,11 @@ + ln $< $@ + + ttmkfdir: ttmkfdir.o +- $(CC) -o $@ $< $(LDFALGS) ++ $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) ++ ++install: all ++ mkdir -p $(DESTDIR)/usr/X11R6/bin ++ install -c -m 755 ttmkfdir $(DESTDIR)/usr/X11R6/bin + + ttmkfdir.o: ttmkfdir.c panose.h ttos2val.h + +Only in ttmkfdir: Makefile~ +diff -ur ttmkfdir.orig/ttmkfdir.c ttmkfdir/ttmkfdir.c +--- ttmkfdir.orig/ttmkfdir.c Wed Sep 9 08:50:50 1998 ++++ ttmkfdir/ttmkfdir.c Thu Mar 1 15:09:51 2001 +@@ -61,7 +61,7 @@ + #include <ctype.h> + #include <errno.h> + +-#include <freetype.h> ++#include <freetype/freetype.h> + + #include "panose.h" + #include "ttos2val.h" diff --git a/app-misc/ttmkfdir/ttmkfdir-0.0.ebuild b/app-misc/ttmkfdir/ttmkfdir-0.0.ebuild new file mode 100644 index 000000000000..7b1bdef20fc1 --- /dev/null +++ b/app-misc/ttmkfdir/ttmkfdir-0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Peter Gavin <pete@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-misc/ttmkfdir/ttmkfdir-0.0.ebuild,v 1.1 2001/03/11 22:13:01 pete Exp $ + +#P= +A=ttmkfdir.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="a utility to create a fonts.scale file from a set of TrueType fonts" +SRC_URI="http://www.joerg-pommnitz.de/TrueType/ttmkfdir.tar.gz" +HOMEPAGE="http://www.joerg-pommnitz.de/TrueType/xfsft.html" + +DEPEND=">=media-libs/freetype-1.1 + <media-libs/freetype-2.0" + +src_unpack() { + mkdir ${P} + cd ${P} + unpack ${A} + patch -p1 < ${FILESDIR}/${PF}-gentoo.diff +} + +src_compile() { + try make clean + try make OPT=\""${CFLAGS}"\" +} + +src_install () { + try make DESTDIR=${D} install + dodoc README +} |