/[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.2
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.2 2005/02/28 11:26:16 taviso 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"
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 \

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

  ViewVC Help
Powered by ViewVC 1.1.20