/[gentoo-x86]/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild
Gentoo

Diff of /sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.1.1.1
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2005 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.1 2003/09/15 17:46:25 seemant Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild,v 1.1.1.1 2005/11/30 09:44:14 chriswhite Exp $
4 4
5inherit eutils 5inherit eutils libtool
6 6
7MY_P="hfsplus_${PV}" 7MY_P="hfsplus_${PV}"
8DESCRIPTION="HFS+ Filesystem Access Utilities (PPC Only)" 8DESCRIPTION="HFS+ Filesystem Access Utilities (a PPC filesystem)"
9HOMEPAGE="http://ftp.penguinppc.org/users/hasi/"
9SRC_URI="http://ftp.penguinppc.org/users/hasi/${MY_P}.src.tar.bz2" 10SRC_URI="http://ftp.penguinppc.org/users/hasi/${MY_P}.src.tar.bz2"
10HOMEPAGE="http://ftp.penguinppc.org/users/hasi/"
11 11
12KEYWORDS="ppc x86"
13LICENSE="GPL-2" 12LICENSE="GPL-2"
14SLOT="0" 13SLOT="0"
14KEYWORDS="x86 ppc ppc64"
15IUSE=""
15 16
16DEPEND="sys-devel/autoconf 17DEPEND="sys-devel/autoconf
17 sys-devel/automake 18 sys-devel/automake
18 sys-apps/bzip2" 19 app-arch/bzip2"
19RDEPEND="" 20RDEPEND="virtual/libc"
20 21
21S=${WORKDIR}/hfsplus-${PV} 22S=${WORKDIR}/hfsplus-${PV}
22
23MAKEOPTS='PREFIX=/usr MANDIR=/usr/share/man'
24 23
25src_unpack() { 24src_unpack() {
26 unpack ${A} 25 unpack ${A}
27 cd ${S} 26 cd ${S}
28 epatch ${FILESDIR}/hfsplusutils-1.0.4-glob.patch 27 epatch ${FILESDIR}/hfsplusutils-1.0.4-glob.patch
29 epatch ${FILESDIR}/hfsplusutils-1.0.4-errno.patch 28 epatch ${FILESDIR}/hfsplusutils-1.0.4-errno.patch
29 epatch ${FILESDIR}/hfsplusutils-1.0.4-gcc4.patch
30 #let's avoid the Makefile.cvs since isn't working for us
31 export WANT_AUTOCONF=2.5
32 export WANT_AUTOMAKE=1.6
33 aclocal
34 autoconf
35 autoheader
36 automake -a
37 libtoolize --force --copy
38 elibtoolize
30} 39}
31 40
32src_compile() { 41src_compile() {
33 # This does a autoconf, automake, etc.
34 emake -f Makefile.cvs all || die
35 econf || die 42 econf || die
36 emake || die 43 emake || die
37} 44}
38 45
39src_install() { 46src_install() {
40 dodir /usr/bin 47 dodir /usr/bin /usr/lib /usr/share/man
41 dodir /usr/lib
42 dodir /usr/share/man
43 make \ 48 make \
44 prefix=${D}/usr \ 49 prefix=${D}/usr \
50 libdir=${D}/usr/lib \
45 mandir=${D}/usr/share/man \ 51 mandir=${D}/usr/share/man \
46 infodir=${D}/usr/share/info \ 52 infodir=${D}/usr/share/info \
47 install || die 53 install || die
48 newman doc/man/hfsp.man hfsp.1 54 newman doc/man/hfsp.man hfsp.1
49} 55}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.1.1

  ViewVC Help
Powered by ViewVC 1.1.20