blob: 3b02150cdc351651cd5fee0ead692ed5f0b4e9f2 (
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
36
37
38
39
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Ben Lutgens <lamer@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/xv-3.10a.ebuild,v 1.1 2001/07/21 17:23:59 lamer Exp $
S=${WORKDIR}/${P}
DESCRIPTION="This is a sample skeleton ebuild file"
SRC_URI="ftp://ftp.cis.upenn.edu/pub/xv/${P}.tar.gz"
HOMEPAGE="http://www.trilon.com/xv/index.html"
DEPEND="virtual/x11
virtual/glibc
>=media-libs/tiff-3.5.6_beta
>=media-libs/jpeg-6b
>=sys-libs/zlib-1.1.3"
#RDEPEND=""
src_unpack() {
unpack ${A}
cd ${S}
# I know very little about make but somehow I was able to riddle out how to
# fix this makefile so it not unly understood DESTDIR but makes it's own
# dirs to. I fail to understand why people can't seem to do that. Do they
# want packagers to have a hard time with thier source trees?
patch -p1 < ${FILESDIR}/xv.diff
}
src_compile() {
# try emake
try make
}
src_install () {
try make DESTDIR=${D} install
dodoc README INSTALL CHANGELOG BUGS IDEAS
}
|