blob: af6a8a025638caaec85f27bacaf6958bf7bb46df (
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
40
41
42
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/steghide/steghide-0.5.1.ebuild,v 1.14 2010/04/01 21:33:17 abcd Exp $
EAPI="3"
inherit autotools eutils
DESCRIPTION="A steganography program which hides data in various media files"
HOMEPAGE="http://steghide.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE="debug"
DEPEND=">=app-crypt/mhash-0.8.18-r1
>=dev-libs/libmcrypt-2.5.7
media-libs/jpeg:0
>=sys-libs/zlib-1.1.4-r2"
src_prepare(){
epatch "${FILESDIR}"/${P}-gcc34.patch \
"${FILESDIR}"/${P}-gcc4.patch \
"${FILESDIR}"/${P}-gcc43.patch
eautoreconf
}
src_configure() {
econf $(use_enable debug)
}
src_compile() {
local libtool
[[ ${CHOST} == *-darwin* ]] && libtool=$(type -P glibtool) || libtool=$(type -P libtool)
emake LIBTOOL="${libtool}" || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}" install || die "emake install failed"
prepalldocs
}
|