blob: 4934a341d79fde91e78bf35fee58b83622d8af28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $ Header: $
S=${WORKDIR}/${P}
DESCRIPTION="HFS FS Access utils"
SRC_URI="ftp://ftp.mars.org/pub/hfs/${P}.tar.gz"
HOMEPAGE="http://www.mars.org/home/rob/proj/hfs/"
DEPEND="virtual/glibc"
RDEPEND=""
SLOT="0"
LICENSE="0"
MAKEOPTS='PREFIX=/usr MANDIR=/usr/share/man'
src_compile() {
if [ ${ARCH} = "x86" ] ; then
einfo "PPC Only build, sorry"
exit 1
fi
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man || die "./configure failed"
emake || die
}
src_install () {
dodir /usr/bin
dodir /usr/lib
dodir /usr/share/man
make \
prefix=${D}/usr \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
install || die
}
|