summaryrefslogtreecommitdiff
blob: b7b39b835a3ea41c90cb7e794207e1e77eeb05de (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/sam2p-0.41.ebuild,v 1.2 2003/07/12 16:44:48 aliz Exp $

DESCRIPTION="A utility to convert raster images to PDF and others"
HOMEPAGE="http://www.inf.bme.hu/~pts/sam2p/"
SRC_URI="http://www.inf.bme.hu/~pts/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="gif"
DEPEND="virtual/glibc"

src_compile() {
	local myconf="--enable-lzw"
	use gif && myconf="${myconf} --enable-gif"
	econf ${myconf} || die
	emake || die
}

src_install() {
	einstall
	dodoc README
}