blob: 3728bc488de68e67506fb0be4bb023e486e0c49f (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/dosfstools/dosfstools-2.11.ebuild,v 1.3 2006/05/07 09:50:57 corsair Exp $
DESCRIPTION="DOS filesystem tools - provides mkdosfs, mkfs.msdos, mkfs.vfat"
HOMEPAGE="ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/"
SRC_URI="ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/${P}.src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ~ppc64 sparc x86"
IUSE=""
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e '/^PREFIX/s:=:=/usr:' \
-e '/^MANDIR/s:/usr:/share:' \
Makefile || die "sed 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 mkdosfs/README README.mkdosfs
newdoc mkdosfs/ChangeLog ChangeLog.mkdosfs
}
|