Gentoo Archives: gentoo-commits

From: "Jonathan Callen (abcd)" <abcd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/steghide: ChangeLog steghide-0.5.1.ebuild
Date: Thu, 01 Apr 2010 21:33:20
Message-Id: E1NxS0r-0004p7-4C@stork.gentoo.org
1 abcd 10/04/01 21:33:17
2
3 Modified: ChangeLog steghide-0.5.1.ebuild
4 Log:
5 Bump to EAPI=3, add prefix keywords
6 (Portage version: -svn/cvs/Linux i686)
7
8 Revision Changes Path
9 1.19 app-crypt/steghide/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/steghide/ChangeLog?rev=1.19&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/steghide/ChangeLog?rev=1.19&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/steghide/ChangeLog?r1=1.18&r2=1.19
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-crypt/steghide/ChangeLog,v
18 retrieving revision 1.18
19 retrieving revision 1.19
20 diff -u -r1.18 -r1.19
21 --- ChangeLog 22 Jan 2010 16:39:58 -0000 1.18
22 +++ ChangeLog 1 Apr 2010 21:33:17 -0000 1.19
23 @@ -1,6 +1,9 @@
24 # ChangeLog for app-crypt/steghide
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/steghide/ChangeLog,v 1.18 2010/01/22 16:39:58 ssuominen Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/steghide/ChangeLog,v 1.19 2010/04/01 21:33:17 abcd Exp $
28 +
29 + 01 Apr 2010; Jonathan Callen <abcd@g.o> steghide-0.5.1.ebuild:
30 + Bump to EAPI=3, add prefix keywords
31
32 22 Jan 2010; Samuli Suominen <ssuominen@g.o> steghide-0.5.1.ebuild:
33 Require SLOT="0" of media-libs/jpeg for headers.
34
35
36
37 1.14 app-crypt/steghide/steghide-0.5.1.ebuild
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/steghide/steghide-0.5.1.ebuild?rev=1.14&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/steghide/steghide-0.5.1.ebuild?rev=1.14&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/steghide/steghide-0.5.1.ebuild?r1=1.13&r2=1.14
42
43 Index: steghide-0.5.1.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/app-crypt/steghide/steghide-0.5.1.ebuild,v
46 retrieving revision 1.13
47 retrieving revision 1.14
48 diff -u -r1.13 -r1.14
49 --- steghide-0.5.1.ebuild 22 Jan 2010 16:39:58 -0000 1.13
50 +++ steghide-0.5.1.ebuild 1 Apr 2010 21:33:17 -0000 1.14
51 @@ -1,8 +1,8 @@
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/steghide/steghide-0.5.1.ebuild,v 1.13 2010/01/22 16:39:58 ssuominen Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/steghide/steghide-0.5.1.ebuild,v 1.14 2010/04/01 21:33:17 abcd Exp $
56
57 -EAPI=1
58 +EAPI="3"
59 inherit autotools eutils
60
61 DESCRIPTION="A steganography program which hides data in various media files"
62 @@ -11,7 +11,7 @@
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 -KEYWORDS="amd64 ppc x86"
67 +KEYWORDS="amd64 ppc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
68 IUSE="debug"
69
70 DEPEND=">=app-crypt/mhash-0.8.18-r1
71 @@ -19,22 +19,24 @@
72 media-libs/jpeg:0
73 >=sys-libs/zlib-1.1.4-r2"
74
75 -src_unpack(){
76 - unpack ${A}
77 - cd "${S}"
78 +src_prepare(){
79 epatch "${FILESDIR}"/${P}-gcc34.patch \
80 "${FILESDIR}"/${P}-gcc4.patch \
81 "${FILESDIR}"/${P}-gcc43.patch
82 eautoreconf
83 }
84
85 -src_compile() {
86 +src_configure() {
87 econf $(use_enable debug)
88 - emake LIBTOOL="$(type -p libtool)" || die "emake failed."
89 +}
90 +
91 +src_compile() {
92 + local libtool
93 + [[ ${CHOST} == *-darwin* ]] && libtool=$(type -P glibtool) || libtool=$(type -P libtool)
94 + emake LIBTOOL="${libtool}" || die "emake failed"
95 }
96
97 src_install() {
98 - emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install \
99 - || die "emake install failed."
100 + emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}" install || die "emake install failed"
101 prepalldocs
102 }