| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2007 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/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild,v 1.11 2006/09/23 22:15:17 josejx Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild,v 1.12 2007/01/04 18:23:05 flameeyes Exp $ |
| 4 | |
4 | |
| 5 | WANT_AUTOMAKE=1.6 |
5 | WANT_AUTOMAKE="latest" |
|
|
6 | WANT_AUTOCONF="latest" |
|
|
7 | |
| 6 | inherit autotools eutils libtool |
8 | inherit autotools eutils libtool |
| 7 | |
9 | |
| 8 | MY_P="hfsplus_${PV}" |
10 | MY_P="hfsplus_${PV}" |
| 9 | DESCRIPTION="HFS+ Filesystem Access Utilities (a PPC filesystem)" |
11 | DESCRIPTION="HFS+ Filesystem Access Utilities (a PPC filesystem)" |
| 10 | HOMEPAGE="http://penguinppc.org/historical/hfsplus/" |
12 | HOMEPAGE="http://penguinppc.org/historical/hfsplus/" |
| … | |
… | |
| 24 | unpack ${A} |
26 | unpack ${A} |
| 25 | cd ${S} |
27 | cd ${S} |
| 26 | epatch ${FILESDIR}/hfsplusutils-1.0.4-glob.patch |
28 | epatch ${FILESDIR}/hfsplusutils-1.0.4-glob.patch |
| 27 | epatch ${FILESDIR}/hfsplusutils-1.0.4-errno.patch |
29 | epatch ${FILESDIR}/hfsplusutils-1.0.4-errno.patch |
| 28 | epatch ${FILESDIR}/hfsplusutils-1.0.4-gcc4.patch |
30 | epatch ${FILESDIR}/hfsplusutils-1.0.4-gcc4.patch |
| 29 | #let's avoid the Makefile.cvs since isn't working for us |
|
|
| 30 | export WANT_AUTOCONF=2.5 |
|
|
| 31 | export WANT_AUTOMAKE=1.6 |
|
|
| 32 | aclocal |
|
|
| 33 | autoconf |
|
|
| 34 | autoheader |
|
|
| 35 | automake -a |
|
|
| 36 | libtoolize --force --copy |
|
|
| 37 | elibtoolize |
|
|
| 38 | } |
|
|
| 39 | |
31 | |
| 40 | src_compile() { |
32 | eautoreconf |
| 41 | econf || die |
|
|
| 42 | emake || die |
|
|
| 43 | } |
33 | } |
| 44 | |
34 | |
| 45 | src_install() { |
35 | src_install() { |
| 46 | dodir /usr/bin /usr/lib /usr/share/man |
36 | dodir /usr/bin /usr/lib /usr/share/man |
| 47 | make \ |
37 | make \ |