| 1 |
# Copyright 1999-2004 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.6 2004/06/30 17:09:48 vapier 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 |
#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 |
| 37 |
elibtoolize |
| 38 |
} |
| 39 |
|
| 40 |
src_compile() { |
| 41 |
export WANT_AUTOCONF=2.5 |
| 42 |
export WANT_AUTOMAKE=1.6 |
| 43 |
econf || die |
| 44 |
emake || die |
| 45 |
} |
| 46 |
|
| 47 |
src_install() { |
| 48 |
dodir /usr/bin /usr/lib /usr/share/man |
| 49 |
make \ |
| 50 |
prefix=${D}/usr \ |
| 51 |
mandir=${D}/usr/share/man \ |
| 52 |
infodir=${D}/usr/share/info \ |
| 53 |
install || die |
| 54 |
newman doc/man/hfsp.man hfsp.1 |
| 55 |
} |