/[gentoo-x86]/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild
Gentoo

Contents of /sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations) (download)
Tue Feb 5 02:48:35 2008 UTC (6 years, 6 months ago) by wolf31o2
Branch: MAIN
Changes since 1.14: +3 -3 lines
Stable on amd64 wrt bug #208481.
(Portage version: 2.1.4)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild,v 1.14 2007/08/13 12:38:47 angelos Exp $
4
5 WANT_AUTOMAKE=1.6
6 inherit autotools eutils libtool
7
8 MY_P="hfsplus_${PV}"
9 DESCRIPTION="HFS+ Filesystem Access Utilities (a PPC filesystem)"
10 HOMEPAGE="http://penguinppc.org/historical/hfsplus/"
11 SRC_URI="http://penguinppc.org/historical/hfsplus/${MY_P}.src.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ppc ppc64 x86"
16 IUSE=""
17
18 DEPEND="app-arch/bzip2"
19 RDEPEND="virtual/libc"
20
21 S=${WORKDIR}/hfsplus-${PV}
22
23 src_unpack() {
24 unpack ${A}
25 cd ${S}
26 epatch ${FILESDIR}/${P}-glob.patch
27 epatch ${FILESDIR}/${P}-errno.patch
28 epatch ${FILESDIR}/${P}-gcc4.patch
29 epatch ${FILESDIR}/${P}-string.patch
30 #let's avoid the Makefile.cvs since isn't working for us
31 export WANT_AUTOCONF=2.5
32 export WANT_AUTOMAKE=1.6
33 aclocal
34 autoconf
35 autoheader
36 automake -a
37 libtoolize --force --copy
38 elibtoolize
39 }
40
41 src_compile() {
42 econf || die
43 emake || die
44 }
45
46 src_install() {
47 dodir /usr/bin /usr/lib /usr/share/man
48 make \
49 prefix=${D}/usr \
50 libdir=${D}/usr/lib \
51 mandir=${D}/usr/share/man \
52 infodir=${D}/usr/share/info \
53 install || die
54 newman doc/man/hfsp.man hfsp.1
55 }

  ViewVC Help
Powered by ViewVC 1.1.20