summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/ntfsprogs/ntfsprogs-1.7.1.ebuild')
-rw-r--r--sys-fs/ntfsprogs/ntfsprogs-1.7.1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/sys-fs/ntfsprogs/ntfsprogs-1.7.1.ebuild b/sys-fs/ntfsprogs/ntfsprogs-1.7.1.ebuild
new file mode 100644
index 000000000000..e89e43dc1612
--- /dev/null
+++ b/sys-fs/ntfsprogs/ntfsprogs-1.7.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfsprogs/ntfsprogs-1.7.1.ebuild,v 1.1 2003/09/15 18:17:32 seemant Exp $
+
+DESCRIPTION="Utilities and library for accessing NTFS filesystems"
+HOMEPAGE="http://linux-ntfs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/linux-ntfs/${P}.tar.gz"
+
+DEPEND=">sys-devel/gcc-2.95
+ >=sys-apps/sed-4"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+
+src_compile() {
+ sed -i 's:head -1:head -n 1:' configure
+ econf || die "Configure failed"
+
+ # I've added only this Makefile tweak, and we don't need
+ # the gcc patch - Quequero
+ sed -i -e "s:CFLAGS = -g -O2:CFLAGS = ${CFLAGS}:" \
+ -e "s:CPPFLAGS =:CPPFLAGS = ${CXXFLAGS}:" Makefile
+ emake || die "Make failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "Install failed"
+
+ # 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
+
+ # a normal user cannot run ntfsfix
+ cd ${D}
+ mv usr/bin/ntfsfix usr/sbin
+ rmdir usr/bin
+}