| 1 |
seemant |
1.1 |
# Copyright 1999-2003 Gentoo Technologies, Inc. |
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
seemant |
1.2 |
# $Header: /home/cvsroot/gentoo-x86/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild,v 1.1 2003/09/15 17:46:25 seemant Exp $ |
| 4 |
seemant |
1.1 |
|
| 5 |
|
|
inherit eutils |
| 6 |
|
|
|
| 7 |
|
|
MY_P="hfsplus_${PV}" |
| 8 |
|
|
DESCRIPTION="HFS+ Filesystem Access Utilities (PPC Only)" |
| 9 |
|
|
SRC_URI="http://ftp.penguinppc.org/users/hasi/${MY_P}.src.tar.bz2" |
| 10 |
|
|
HOMEPAGE="http://ftp.penguinppc.org/users/hasi/" |
| 11 |
|
|
|
| 12 |
|
|
KEYWORDS="ppc x86" |
| 13 |
|
|
LICENSE="GPL-2" |
| 14 |
|
|
SLOT="0" |
| 15 |
|
|
|
| 16 |
|
|
DEPEND="sys-devel/autoconf |
| 17 |
|
|
sys-devel/automake |
| 18 |
seemant |
1.2 |
app-arch/bzip2" |
| 19 |
seemant |
1.1 |
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 |
|
|
emake -f Makefile.cvs all || die |
| 35 |
|
|
econf || die |
| 36 |
|
|
emake || die |
| 37 |
|
|
} |
| 38 |
|
|
|
| 39 |
|
|
src_install() { |
| 40 |
|
|
dodir /usr/bin |
| 41 |
|
|
dodir /usr/lib |
| 42 |
|
|
dodir /usr/share/man |
| 43 |
|
|
make \ |
| 44 |
|
|
prefix=${D}/usr \ |
| 45 |
|
|
mandir=${D}/usr/share/man \ |
| 46 |
|
|
infodir=${D}/usr/share/info \ |
| 47 |
|
|
install || die |
| 48 |
|
|
newman doc/man/hfsp.man hfsp.1 |
| 49 |
|
|
} |