summaryrefslogtreecommitdiff
blob: bc6704218f293332b05849ede78e42c2cf25106a (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
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Ben Lutgens <lamer@gentoo.org>
# /home/cvsroot/gentoo-x86/app-admin/dosfstools/dosfstools-2.7.ebuild,v 1.2 2001/08/27 02:13:12 drobbins Exp
# $Header: /var/cvsroot/gentoo-x86/app-admin/dosfstools/dosfstools-2.7.ebuild,v 1.4 2001/08/30 17:31:35 pm Exp $


S=${WORKDIR}/${P}
DESCRIPTION="dos filesystem tools"
SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/filesystems/dosfs/${P}.src.tar.gz"
HOMEPAGE="ftp.uni-erlangen.de /pub/Linux/LOCAL/dosfstools"
DEPEND="virtual/glibc"

#RDEPEND=""
src_unpack() {
	unpack ${A}
	cd ${S}
	sed -e "s:PREFIX\ \=:PREFIX\ \=\ \/usr:" -e "s:\/usr\/man:\/share\/man:" Makefile | cat > Makefile
}
src_compile() {
	make || die
}

src_install () {
	make PREFIX=${D}/usr install || die
	dodoc CHANGES TODO
	newdoc dosfsck/README README.dosfsck
	newdoc dosfsck/CHANGES CHANGES.dosfsck
	newdoc dosfsck/COPYING COPYING.dosfsck
	newdoc mkdosfs/README README.mkdosfs
	newdoc mkdosfs/ChangeLog ChangeLog.mkdosfs
}