blob: ebb019e0e0fb6f6fa51832e8cdd615a70babf366 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/tic98/tic98-1.01-r1.ebuild,v 1.5 2005/11/03 10:39:00 grobian Exp $
inherit eutils
DESCRIPTION="compressor for black-and-white images, in particular scanned documents"
HOMEPAGE="http://www.cs.waikato.ac.nz/~singlis/"
SRC_URI="http://www.cs.waikato.ac.nz/~singlis/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc-macos x86"
IUSE=""
DEPEND=""
S="${WORKDIR}/${PN}"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}/${P}"-macos.patch
cd "${S}"
epatch "${FILESDIR}/${P}"-gentoo.diff
}
src_compile() {
emake all || die
emake all2 || die
}
src_install() {
dodir /usr/bin
make BIN=${D}usr/bin install || die
}
|