| 1 |
# Copyright 1999-2003 Gentoo Technologies, Inc.
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /home/cvsroot/gentoo-x86/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild,v 1.3 2003/12/17 20:45:12 brad_mssw Exp $
|
| 4 |
|
| 5 |
inherit eutils
|
| 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 |
|
| 16 |
DEPEND="sys-devel/autoconf
|
| 17 |
sys-devel/automake
|
| 18 |
app-arch/bzip2"
|
| 19 |
RDEPEND=""
|
| 20 |
|
| 21 |
S=${WORKDIR}/hfsplus-${PV}
|
| 22 |
|
| 23 |
MAKEOPTS='PREFIX=/usr MANDIR=/usr/share/man'
|
| 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 |
}
|
| 31 |
|
| 32 |
src_compile() {
|
| 33 |
# This does a autoconf, automake, etc.
|
| 34 |
export WANT_AUTOCONF=2.5
|
| 35 |
emake -f Makefile.cvs all || die
|
| 36 |
econf || die
|
| 37 |
emake || die
|
| 38 |
}
|
| 39 |
|
| 40 |
src_install() {
|
| 41 |
dodir /usr/bin /usr/lib /usr/share/man
|
| 42 |
make \
|
| 43 |
prefix=${D}/usr \
|
| 44 |
mandir=${D}/usr/share/man \
|
| 45 |
infodir=${D}/usr/share/info \
|
| 46 |
install || die
|
| 47 |
newman doc/man/hfsp.man hfsp.1
|
| 48 |
}
|