# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/sys-apps/linux-ntfs/linux-ntfs-1.6.0.ebuild,v 1.3 2003/02/13 16:03:12 vapier 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" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" src_unpack() { unpack ${A} } src_compile() { cd ${S} || die econf # I've added only this Makefile tweak, and we don't need # the gcc patch - Quequero cp Makefile Makefile.orig sed -e "s:CFLAGS = -g -O2:CFLAGS = ${CFLAGS}:" \ -e "s:CPPFLAGS =:CPPFLAGS = ${CXXFLAGS}:" \ Makefile.orig > Makefile rm Makefile.orig emake || die } src_install() { make DESTDIR=${D} install || die # 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 rm -rf usr/bin }