Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 220949
Collapse All | Expand All

(-)links-2.3_pre1.ebuild (-12 / +6 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2010 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/www-client/links/links-2.3_pre1.ebuild,v 1.1 2010/04/11 20:31:14 vanquirius Exp $
3
# $Header: $
4
5
EAPI="2"
4
6
5
WANT_AUTOCONF=latest
6
WANT_AUTOMAKE=none
7
WANT_AUTOMAKE=none
7
8
8
inherit eutils toolchain-funcs autotools
9
inherit eutils toolchain-funcs autotools
Lines 17-23 Link Here
17
LICENSE="GPL-2"
18
LICENSE="GPL-2"
18
SLOT="2"
19
SLOT="2"
19
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
20
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
20
IUSE="bzip2 directfb fbcon gpm jpeg livecd png sdl ssl svga tiff unicode X zlib"
21
IUSE="bzip2 directfb fbcon gpm jpeg livecd ssl svga tiff unicode X zlib"
21
22
22
# Note: if X or fbcon usegflag are enabled, links will be built in graphic
23
# Note: if X or fbcon usegflag are enabled, links will be built in graphic
23
# mode. libpng is required to compile links in graphic mode
24
# mode. libpng is required to compile links in graphic mode
Lines 27-33 Link Here
27
28
28
RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )
29
RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )
29
	gpm? ( sys-libs/gpm )
30
	gpm? ( sys-libs/gpm )
30
	png? ( >=media-libs/libpng-1.2.1 )
31
	jpeg? ( >=media-libs/jpeg-6b )
31
	jpeg? ( >=media-libs/jpeg-6b )
32
	fbcon? ( >=media-libs/libpng-1.2.1
32
	fbcon? ( >=media-libs/libpng-1.2.1
33
		>=media-libs/jpeg-6b
33
		>=media-libs/jpeg-6b
Lines 38-44 Link Here
38
	X? ( x11-libs/libXext
38
	X? ( x11-libs/libXext
39
		>=media-libs/libpng-1.2.1 )
39
		>=media-libs/libpng-1.2.1 )
40
	directfb? ( dev-libs/DirectFB )
40
	directfb? ( dev-libs/DirectFB )
41
	sdl? ( >=media-libs/libsdl-1.2.0 )
42
	sys-libs/ncurses
41
	sys-libs/ncurses
43
	livecd? ( >=media-libs/libpng-1.2.1
42
	livecd? ( >=media-libs/libpng-1.2.1
44
		>=media-libs/jpeg-6b
43
		>=media-libs/jpeg-6b
Lines 47-55 Link Here
47
DEPEND="${RDEPEND}
46
DEPEND="${RDEPEND}
48
	dev-util/pkgconfig"
47
	dev-util/pkgconfig"
49
48
50
src_unpack (){
49
src_prepare (){
51
	unpack ${A}; cd "${S}"
52
53
	epatch "${FILESDIR}"/configure-LANG.patch #131440
50
	epatch "${FILESDIR}"/configure-LANG.patch #131440
54
51
55
	if use unicode ; then
52
	if use unicode ; then
Lines 61-67 Link Here
61
	eautoconf || die "autoconf failed"
58
	eautoconf || die "autoconf failed"
62
}
59
}
63
60
64
src_compile (){
61
src_configure (){
65
	local myconf
62
	local myconf
66
63
67
	if use X || use fbcon || use directfb || use svga || use livecd; then
64
	if use X || use fbcon || use directfb || use svga || use livecd; then
Lines 92-108 Link Here
92
89
93
	econf \
90
	econf \
94
		$(use_with X x) \
91
		$(use_with X x) \
95
		$(use_with png libpng) \
96
		$(use_with jpeg libjpeg) \
92
		$(use_with jpeg libjpeg) \
97
		$(use_with tiff libtiff) \
93
		$(use_with tiff libtiff) \
98
		$(use_with svga svgalib) \
94
		$(use_with svga svgalib) \
99
		$(use_with directfb) \
95
		$(use_with directfb) \
100
		$(use_with ssl) \
96
		$(use_with ssl) \
101
		$(use_with sdl) \
102
		$(use_with zlib) \
97
		$(use_with zlib) \
103
		$(use_with bzip2) \
98
		$(use_with bzip2) \
104
		${myconf} || die "configure failed"
99
		${myconf} || die "configure failed"
105
	emake || die "make failed"
106
}
100
}
107
101
108
src_install() {
102
src_install() {

Return to bug 220949