blob: be012517ec403526d162f84fe5a7b413a89eb5ee (
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
42
43
44
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/linux-ntfs/linux-ntfs-1.6.0.ebuild,v 1.1 2002/11/02 07:51:43 woodchip Exp $
DESCRIPTION="Utilities and library for accessing NTFS filesystems"
HOMEPAGE="http://linux-ntfs.sourceforge.net/"
S=${WORKDIR}/${P}
SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV}.tar.gz"
DEPEND=">=sys-devel/gcc-2.96"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
src_unpack() {
unpack ${A} || die
cd ${S} || die
patch -p0 <${FILESDIR}/${P}-gcc3.2.patch || die
}
src_compile() {
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
# a normal user cannot run ntfsfix
cd ${D}
mv usr/bin/ntfsfix usr/sbin
rm -rf usr/bin
cd ${S}
# lot's of docs (a good thing :)
dodoc CREDITS ChangeLog NEWS README TODO.include TODO.mkntfs TODO.ntfsfix \
doc/attribute_definitions doc/attributes.txt doc/compression.txt \
doc/system_files.txt doc/system_security_descriptors.txt \
doc/tunable_settings
}
|