summaryrefslogtreecommitdiff
blob: 2ff54f636d93b49a2a5b91bfcf61002f86c532b2 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Your Name <your email>
# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/xsane-0.77.ebuild,v 1.1 2001/06/04 06:41:14 achim Exp $

A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="XSane is a graphical scanning frontend"
SRC_URI="http://www.xsane.org/download/${A}"
HOMEPAGE="http://www.xsane.org"

DEPEND="media-gfx/sane-backends media-gfx/gimp"

src_compile() {

    try ./configure --prefix=/usr/X11R6 --mandir=/usr/X11R6/man --host=${CHOST}
    try make

}

src_install () {

    try make prefix=${D}/usr/X11R6 mandir=${D}/usr/X11R6/man install
    dodoc xsane.[A-Z]*
    docinto html
    dodoc doc/*.{jpg,html}
}