blob: f28ce20e2572b8a779f65d81e6202b713bffdf19 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/dosfstools/dosfstools-2.8-r2.ebuild,v 1.6 2002/10/04 03:40:28 vapier Exp $
S=${WORKDIR}/${P}
DESCRIPTION="dos filesystem tools"
SRC_URI="ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/${P}.src.tar.gz"
HOMEPAGE="ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc sparc64"
DEPEND="virtual/glibc"
src_unpack() {
unpack ${A} ; cd ${S}
mv Makefile Makefile.orig
sed -e "s:PREFIX\ \=:PREFIX\ \=\ \/usr:" \
-e "s:\/usr\/man:\/share\/man:" \
Makefile.orig > Makefile
}
src_compile() {
#this package does *not* play well with optimisations
#please dont change to: make OPTFLAGS="${CFLAGS}"
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
}
|