blob: 91a9886c0d9ad473a81a28bfe5e3f2d450c2877d (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfsprogs/reiserfsprogs-3.6.11-r1.ebuild,v 1.6 2004/06/24 22:53:23 agriffis Exp $
inherit flag-o-matic eutils
DESCRIPTION="Reiserfs Utilities"
HOMEPAGE="http://www.namesys.com/"
SRC_URI="http://www.namesys.com/pub/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ia64 hppa ppc"
src_unpack() {
unpack ${A}
if [ "$ARCH" = "ia64" ]; then
# Should work on everything, but needed on IA-64. Thanks
# to Vitaly Fertman from the Namesys/ReiserFS team for
# this fix. Makes reiserfsck work. (drobbins, 23 Sep 03)
cd ${S}
epatch ${FILESDIR}/blk_size.patch
fi
}
src_compile() {
filter-flags -fPIC
./configure --prefix=/ || die "Failed to configure"
emake || die "Failed to compile"
}
src_install() {
make DESTDIR="${D}" install || die "Failed to install"
dodir /usr/share
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
cd ${D}
mv man usr/share
dosym /sbin/reiserfsck /sbin/fsck.reiserfs
}
|