/[gentoo-x86]/media-gfx/xli/xli-1.17.0-r1.ebuild
Gentoo

Diff of /media-gfx/xli/xli-1.17.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.12
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-gfx/xli/Attic/xli-1.17.0-r1.ebuild,v 1.1 2005/02/28 11:22:14 taviso Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-gfx/xli/Attic/xli-1.17.0-r1.ebuild,v 1.12 2005/03/21 20:22:00 gmsoft Exp $
4 4
5inherit alternatives 5inherit alternatives
6 6
7SNAPSHOT="2005-02-27" 7SNAPSHOT="2005-02-27"
8DESCRIPTION="X Load Image: view images or load them to root window" 8DESCRIPTION="X Load Image: view images or load them to root window"
9HOMEPAGE="http://pantransit.reptiles.org/prog/" 9HOMEPAGE="http://pantransit.reptiles.org/prog/"
10SRC_URI="http://pantransit.reptiles.org/prog/xli/xli-${SNAPSHOT}.tar.gz" 10SRC_URI="http://pantransit.reptiles.org/prog/xli/xli-${SNAPSHOT}.tar.gz"
11 11
12LICENSE="X11" 12LICENSE="X11"
13SLOT="0" 13SLOT="0"
14KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc-macos ~sparc ~x86" 14KEYWORDS="alpha amd64 hppa ia64 ppc ~ppc-macos sparc x86 ppc-macos ~mips"
15IUSE="" 15IUSE=""
16 16
17DEPEND="virtual/x11 17DEPEND="virtual/x11
18 >=sys-libs/zlib-1.1.4 18 >=sys-libs/zlib-1.1.4
19 >=media-libs/libpng-1.0.5 19 >=media-libs/libpng-1.0.5
20 >=media-libs/jpeg-6b-r2" 20 >=media-libs/jpeg-6b-r2
21 app-arch/bzip2"
21 22
22S=${WORKDIR}/${PN}-${SNAPSHOT} 23S=${WORKDIR}/${PN}-${SNAPSHOT}
23 24
24src_unpack() { 25src_unpack() {
25 unpack ${A} 26 unpack ${A}
31 sed -i "s:zopen:xli_zopen:g" $f 32 sed -i "s:zopen:xli_zopen:g" $f
32 done 33 done
33 fi 34 fi
34 35
35 sed -i Imakefile \ 36 sed -i Imakefile \
36 -e "/^DEFINES =/s/$/ -DHAVE_GUNZIP/" \ 37 -e "/^DEFINES =/s/$/ -DHAVE_GUNZIP -DHAVE_BUNZIP2 /" \
37 -e "/CCOPTIONS =/s/=.*/=/" 38 -e "/CCOPTIONS =/s/=.*/=/"
38 39
39 # This is a hack to avoid a parse error on /usr/include/string.h 40 # This is a hack to avoid a parse error on /usr/include/string.h
40 # when _BSD_SOURCE is defined. This may be a bug in that header. 41 # when _BSD_SOURCE is defined. This may be a bug in that header.
41 sed -i png.c \ 42 sed -i png.c \
46 -e "s/#include <varargs.h>//" 47 -e "s/#include <varargs.h>//"
47 48
48} 49}
49 50
50src_compile() { 51src_compile() {
51 /usr/X11R6/bin/xmkmf || die 52 xmkmf || die "xmkmf failed."
52 53
53 emake CDEBUGFLAGS="${CFLAGS}" || die 54 emake CDEBUGFLAGS="${CFLAGS}" || die
54} 55}
55 56
56 57

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20