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

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

  ViewVC Help
Powered by ViewVC 1.1.20