blob: ebeaef64b4db6f5d0c1882a24614ac4b36ac2a05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/a2ps-4.13b-r2.ebuild,v 1.2 2001/02/01 19:30:33 achim Exp $
P=a2ps-4.13b
A=${P}.tar.gz
S=${WORKDIR}/a2ps-4.13
DESCRIPTION="a2ps is an Any to PostScript filter"
SRC_URI="ftp://ftp.enst.fr/pub/unix/a2ps/"${A}
HOMEPAGE="http://www-inf.enst.fr/~demaille/a2ps"
DEPEND=">=sys-apps/bash-2.04
>=sys-libs/glibc-2.1.3
>=app-text/ghostscript-6.23
>=app-text/tetex-1.0.7
virtual/lpr"
src_unpack() {
unpack ${A}
}
src_compile() {
cd ${S}
try ./configure --host=${CHOST} --prefix=/usr --sysconfdir=/etc/a2ps
try make
}
src_install() {
cd ${S}
dodir /usr/share/emacs/site-lisp
try make prefix=${D}/usr sysconfdir=${D}/etc/a2ps \
lispdir=${D}/usr/share/emacs/site-lisp install
dodoc ANNOUNCE AUTHORS ChangeLog COPYING FAQ NEWS README THANKS TODO
}
|