| 1 |
# Copyright 1999-2007 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.11 2006/09/23 22:15:17 josejx Exp $ |
| 4 |
|
| 5 |
WANT_AUTOMAKE="latest" |
| 6 |
WANT_AUTOCONF="latest" |
| 7 |
|
| 8 |
inherit autotools eutils libtool |
| 9 |
|
| 10 |
MY_P="hfsplus_${PV}" |
| 11 |
DESCRIPTION="HFS+ Filesystem Access Utilities (a PPC filesystem)" |
| 12 |
HOMEPAGE="http://penguinppc.org/historical/hfsplus/" |
| 13 |
SRC_URI="http://penguinppc.org/historical/hfsplus/${MY_P}.src.tar.bz2" |
| 14 |
|
| 15 |
LICENSE="GPL-2" |
| 16 |
SLOT="0" |
| 17 |
KEYWORDS="x86 ppc ppc64" |
| 18 |
IUSE="" |
| 19 |
|
| 20 |
DEPEND="app-arch/bzip2" |
| 21 |
RDEPEND="virtual/libc" |
| 22 |
|
| 23 |
S=${WORKDIR}/hfsplus-${PV} |
| 24 |
|
| 25 |
src_unpack() { |
| 26 |
unpack ${A} |
| 27 |
cd ${S} |
| 28 |
epatch ${FILESDIR}/hfsplusutils-1.0.4-glob.patch |
| 29 |
epatch ${FILESDIR}/hfsplusutils-1.0.4-errno.patch |
| 30 |
epatch ${FILESDIR}/hfsplusutils-1.0.4-gcc4.patch |
| 31 |
|
| 32 |
eautoreconf |
| 33 |
} |
| 34 |
|
| 35 |
src_install() { |
| 36 |
dodir /usr/bin /usr/lib /usr/share/man |
| 37 |
make \ |
| 38 |
prefix=${D}/usr \ |
| 39 |
libdir=${D}/usr/lib \ |
| 40 |
mandir=${D}/usr/share/man \ |
| 41 |
infodir=${D}/usr/share/info \ |
| 42 |
install || die |
| 43 |
newman doc/man/hfsp.man hfsp.1 |
| 44 |
} |