summaryrefslogtreecommitdiff
blob: 9837ad61e2f7dc1bf4f284082d3fd1200fa467d6 (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-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Peter Gavin <pete@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-9.12.ebuild,v 1.1 2001/03/30 01:16:15 ryan Exp $

A=${P}.tgz
S=${WORKDIR}/${P}
DESCRIPTION="a set of utilities for converting to/from the netpbm (and related) formats"
SRC_URI="http://download.sourceforge.net/netpbm/${A}"
HOMEPAGE="http://netpbm.sourceforge.net/"

DEPEND=">=media-libs/jpeg-6b
	>=media-libs/tiff-3.5.5
	>=media-libs/libpng-1.0.5"

src_unpack() {
    unpack ${A}
    cd ${S}
    cp ${FILESDIR}/${PV}/Makefile.config .
}

src_compile() {
    try make CFLAGS=\""${CFLAGS}"\"
}

src_install () {
    try make INSTALL_PREFIX=\""${D}/usr/"\" install
    dodoc COPYRIGHT.PATENT GPL_LICENSE.txt HISTORY \
          Netpbm.programming README README.CONFOCAL README.DJGPP \
          README.JPEG README.VMS netpbm.lsm
}