/[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.9 - (show annotations) (download)
Wed Nov 2 18:43:04 2005 UTC (9 years ago) by josejx
Branch: MAIN
Changes since 1.8: +2 -1 lines
Added gcc4 fix from Fedora.
(Portage version: 2.0.53_rc6)

1 # Copyright 1999-2005 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.8 2005/02/16 09:59:37 lu_zero Exp $
4
5 inherit eutils libtool
6
7 MY_P="hfsplus_${PV}"
8 DESCRIPTION="HFS+ Filesystem Access Utilities (a PPC filesystem)"
9 HOMEPAGE="http://ftp.penguinppc.org/users/hasi/"
10 SRC_URI="http://ftp.penguinppc.org/users/hasi/${MY_P}.src.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="x86 ppc ppc64"
15 IUSE=""
16
17 DEPEND="sys-devel/autoconf
18 sys-devel/automake
19 app-arch/bzip2"
20 RDEPEND="virtual/libc"
21
22 S=${WORKDIR}/hfsplus-${PV}
23
24 src_unpack() {
25 unpack ${A}
26 cd ${S}
27 epatch ${FILESDIR}/hfsplusutils-1.0.4-glob.patch
28 epatch ${FILESDIR}/hfsplusutils-1.0.4-errno.patch
29 epatch ${FILESDIR}/hfsplusutils-1.0.4-gcc4.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