blob: b38b4b1d4328e1d035c836b195c584e6d674fd97 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-print/poster/poster-0.1.ebuild,v 1.7 2006/01/21 17:12:14 dertobi123 Exp $
inherit toolchain-funcs
S="${WORKDIR}/${PN}"
DESCRIPTION="small utility for making a poster from an EPS file or a one-page PS document"
SRC_URI="http://www.geocities.com/SiliconValley/5682/poster.tgz"
HOMEPAGE="http://www.geocities.com/SiliconValley/5682/poster.html"
LICENSE="poster"
KEYWORDS="~amd64 ~ppc x86"
SLOT="0"
IUSE=""
src_unpack() {
unpack ${A}
chmod u+rwx ./poster
cd ${S}
tar -zxf ./poster.tar.gz || die "tar failed"
}
src_compile(){
`tc-getCC` ${CFLAGS} poster.c -lm -o ${PN} || die "compile failed"
}
src_install() {
dobin ${PN} || die "dobin failed"
doman ${PN}.1 || die "dodoc failed"
}
|