| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/fatsort/fatsort-0.9.17.269.ebuild,v 1.2 2012/07/08 12:21:12 hwoarang Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit toolchain-funcs
|
| 8 |
|
| 9 |
DESCRIPTION="Sorts files on FAT16/32 partitions, ideal for basic audio players."
|
| 10 |
HOMEPAGE="http://fatsort.sourceforge.net/"
|
| 11 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="amd64 x86"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
src_prepare() {
|
| 19 |
sed -i -e "/^\(MANDIR=\|SBINDIR=\)/s|/usr/local|/usr|" \
|
| 20 |
$(find ./ -name Makefile) || die
|
| 21 |
}
|
| 22 |
|
| 23 |
src_compile() {
|
| 24 |
emake CC=$(tc-getCC) LD=$(tc-getCC) \
|
| 25 |
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
|
| 26 |
DESTDIR="${D}"
|
| 27 |
}
|