Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 221129 | Differences between
and this patch

Collapse All | Expand All

(-)steghide-0.5.1.ebuild.old (-12 / +22 lines)
Lines 1-34 Link Here
1
# Copyright 1999-2006 Gentoo Foundation
1
# Copyright 1999-2006 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/app-crypt/steghide/steghide-0.5.1.ebuild,v 1.11 2006/08/16 00:39:09 squinky86 Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-crypt/steghide/steghide-0.5.1.ebuild,v 1.11 2006/08/16 00:39:09 squinky86 Exp $
4
4
5
inherit eutils
5
inherit eutils autotools
6
6
7
DESCRIPTION="A steganography program which hides data in various media files"
7
DESCRIPTION="A steganography program which hides data in various media files"
8
HOMEPAGE="http://steghide.sourceforge.net/"
8
HOMEPAGE="http://steghide.sourceforge.net/"
9
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
9
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
10
LICENSE="GPL-2"
10
LICENSE="GPL-2"
11
SLOT="0"
11
SLOT="0"
12
KEYWORDS="amd64 ppc x86"
12
KEYWORDS="amd64 ppc x86"
13
IUSE=""
13
IUSE="debug"
14
14
15
DEPEND=">=app-crypt/mhash-0.8.18-r1
15
DEPEND="app-crypt/mhash
16
		>=dev-libs/libmcrypt-2.5.7
16
	dev-libs/libmcrypt
17
		>=media-libs/jpeg-6b-r3
17
	media-libs/jpeg
18
		>=sys-libs/zlib-1.1.4-r2"
18
	sys-libs/zlib
19
	dev-lang/perl"
19
20
20
src_unpack(){
21
src_unpack(){
21
	unpack ${A}
22
	unpack ${A}
22
	epatch "${FILESDIR}"/${P}-gcc34.patch
23
	cd "${S}"
23
	epatch "${FILESDIR}"/${P}-gcc4.patch
24
	epatch "${FILESDIR}"/${P}-gcc{34,4,43}.patch
25
	eautoreconf
24
}
26
}
25
27
26
src_compile() {
28
src_compile() {
27
	econf || die "configure failed"
29
	econf 	$(use_enable debug) \
28
	epatch "${FILESDIR}"/fix-libtool-invocation.patch
30
		|| die "configure failed"
29
	emake || die "make failed"
31
32
	emake	LIBTOOL="$(type -p libtool)" \
33
		|| die "make failed"
30
}
34
}
31
35
32
src_install() {
36
src_install() {
33
	make DESTDIR="${D}" install || die "installation failed"
37
	emake	DESTDIR="${D}" \
38
		docdir="/usr/share/${PF}" \
39
		install || die "installation failed"
40
}
41
42
src_test() {
43
	emake check
34
}
44
}

Return to bug 221129