Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 170425
Collapse All | Expand All

(-)fatsort-0.9.8.3.ebuild (-6 / +11 lines)
Lines 4-11 Link Here
4
4
5
inherit eutils
5
inherit eutils
6
6
7
DESCRIPTION="FATSort is a C utility that sorts the files of FAT16 and FAT32
7
DESCRIPTION="FATSort is a C utility that sorts FAT16 and FAT32 partitions."
8
partitions."
9
HOMEPAGE="http://fatsort.berlios.de/"
8
HOMEPAGE="http://fatsort.berlios.de/"
10
SRC_URI="http://download.berlios.de/${PN}/${P}.tar.gz"
9
SRC_URI="http://download.berlios.de/${PN}/${P}.tar.gz"
11
10
Lines 14-27 Link Here
14
KEYWORDS="~x86 ~amd64"
13
KEYWORDS="~x86 ~amd64"
15
IUSE=""
14
IUSE=""
16
15
17
DEPEND=""
16
src_unpack() {
17
	unpack ${A}
18
	cd "${S}"
19
	sed -i -e 's:/local::g' src/Makefile || die "sed failed!"
20
}
18
21
19
src_compile() {
22
src_compile() {
20
	emake || die
23
	emake CC=$(tc-getCC) LD=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
24
	DESTDIR="${D}" || die "install failed"
21
}
25
}
22
26
23
src_install() {
27
src_install() {
24
	dosbin src/fatsort
28
	emake DESTDIR="${D}" install || die "install failed"
25
	dodoc CHANGES LICENSE.txt README TODO
29
	doman man/fatsort.8 || die "doman failed"
30
	dodoc CHANGES README TODO || die "dodoc failed"
26
}
31
}
27
32

Return to bug 170425