/[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.15 Revision 1.16
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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.15 2008/02/05 02:48:35 wolf31o2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild,v 1.16 2008/02/05 03:09:46 wolf31o2 Exp $
4 4
5WANT_AUTOMAKE=1.6 5WANT_AUTOMAKE=1.6
6inherit autotools eutils libtool 6inherit autotools eutils libtool
7 7
8MY_P="hfsplus_${PV}" 8MY_P="hfsplus_${PV}"
20 20
21S=${WORKDIR}/hfsplus-${PV} 21S=${WORKDIR}/hfsplus-${PV}
22 22
23src_unpack() { 23src_unpack() {
24 unpack ${A} 24 unpack ${A}
25 cd ${S} 25 cd "${S}"
26 epatch ${FILESDIR}/${P}-glob.patch 26 epatch "${FILESDIR}/${P}-glob.patch"
27 epatch ${FILESDIR}/${P}-errno.patch 27 epatch "${FILESDIR}/${P}-errno.patch"
28 epatch ${FILESDIR}/${P}-gcc4.patch 28 epatch "${FILESDIR}/${P}-gcc4.patch"
29 epatch ${FILESDIR}/${P}-string.patch 29 epatch "${FILESDIR}/${P}-string.patch"
30 #let's avoid the Makefile.cvs since isn't working for us 30 #let's avoid the Makefile.cvs since isn't working for us
31 export WANT_AUTOCONF=2.5 31 AM_OPTS="-a" eautoreconf
32 export WANT_AUTOMAKE=1.6
33 aclocal
34 autoconf
35 autoheader
36 automake -a
37 libtoolize --force --copy
38 elibtoolize
39}
40
41src_compile() {
42 econf || die
43 emake || die
44} 32}
45 33
46src_install() { 34src_install() {
47 dodir /usr/bin /usr/lib /usr/share/man 35 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 36 newman doc/man/hfsp.man hfsp.1
55} 37}

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20