blob: 3fd16c14aba78235db93e6bfe04313e16fe80904 (
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
45
46
47
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/sys-apps/linux-ntfs/linux-ntfs-1.5.0-r1.ebuild,v 1.4 2002/07/11 06:30:54 drobbins Exp $
# NB: This project actually requires >=gcc.2.96! This ebuild installs an
# rpm binary package into /opt. Eventually we'll compile it ourselves..
DESCRIPTION="Utilities and library for accessing NTFS filesystems"
HOMEPAGE="http://linux-ntfs.sourceforge.net/"
S=${WORKDIR}/${P}
SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV}-${PR/r/}.i386.rpm
mirror://sourceforge/${PN}/${PN}-devel-${PV}-${PR/r/}.i386.rpm"
DEPEND="virtual/glibc app-arch/rpm2targz"
src_unpack() {
local i
for i in ${A}
do
rpm2targz ${DISTDIR}/${i}
tar zxf ${i/rpm/tar.gz}
rm -f ${i/rpm/tar.gz}
done
}
src_compile() { :; }
src_install() {
cd ${D}
mkdir -p opt/${PN}
mv ${WORKDIR}/usr/* opt/${PN}
cd opt/${PN}
mv sbin/mkntfs bin
rm -rf sbin
mkdir -p ${D}/usr/share/doc ${D}/usr/include
mv share/doc/${PN}-${PV} ${D}/usr/share/doc/${PF}
rm -rf share/doc
dosym /opt/${PN}/include/ntfs /usr/include/ntfs
insinto /etc/env.d
doins ${FILESDIR}/50ntfs
}
|