| Summary: | Ebuild for terminus-fonts | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Paul Tötterman <paul_totterman> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Paul Tötterman
2003-04-02 08:12:51 UTC
A completely new package in gentoo. app-misc/terminus-fonts Reproducible: Always Steps to Reproduce: 1. place files in /usr/local/portage/app-misc/terminus-font/ 2. ebuild /usr/local/portage/app-misc/terminus-font/terminus-font-4.0.ebuild digest 3. ACCEPT_KEYWORDS="~x86" emerge terminus-fonts Actual Results: Works fine on my computer and my friends. Haven't tested on others. Expected Results: Well, this is my first ebuild, so it is pretty probable that it doesn't conform to whatever standards there are about these kinds of things. Please telll me how to get it right, and why. terminus-font-4.0.ebuild: # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A high quality fixed width font" HOMEPAGE="http://www.is-vn.bg/hamster/jimmy-en.htm" SRC_URI="http://ftp.debian.org/debian/pool/main/x/xfonts-terminus/xfonts-terminu s_4.0.orig.tar.gz" LICENSE="GPL-2" KEYWORDS="~x86" IUSE="X" DEPEND="X? ( virtual/x11 ) dev-lang/perl sys-apps/gawk" #S=${WORKDIR}/${P} S=${WORKDIR}/xfonts-terminus-4.0.orig src_compile() { if [ -n "`use X`" ]; then make pcf fi } src_install() { if [ -n "`use X`" ]; then cd x11 ../configure --prefix=${D}/usr perl -pi -e 's/local/misc/;' Makefile cd .. make -f x11/Makefile install fi } pkg_postinst() { mkfontdir /usr/X11R6/lib/X11/fonts/misc } ChangeLog: (am I even supposed to send one, or is it the maintainers job?) # ChangeLog for app-misc/terminus-font # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 # $Header: $ *terminus-font-4.0 (2 Apr 2003) 2 Apr 2003; Paul Tötterman <paul_totterman@yahoo.com> Initial version. Wanted to make a package for these excellent fonts that Debian users have had the pleasure to use for a long time. The ebuild is very simple and heavily relies on the non-standard (non-autoconf) configure script made by Dimitar Toshkov Zhekov (the author). Many thanks to the author for these fonts, I hope that this ebuild will be of use to many. Right now only fonts for X11 get installed, and only if X is in USE- flags. Gotta fix that soon. |