/[gentoo-x86]/sys-fs/fatsort/fatsort-0.9.12.199.ebuild
Gentoo

Contents of /sys-fs/fatsort/fatsort-0.9.12.199.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jul 12 20:32:26 2010 UTC (4 years, 2 months ago) by billie
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old.
(Portage version: 2.1.8.3/cvs/Linux i686)

1 # Copyright 1999-2009 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.12.199.ebuild,v 1.1 2009/09/30 18:03:10 billie Exp $
4
5 EAPI="2"
6
7 inherit toolchain-funcs versionator
8
9 MY_PV=$(replace_version_separator 3 '-')
10
11 DESCRIPTION="Sorts files on FAT16/32 partitions, ideal for basic audio players."
12 HOMEPAGE="http://fatsort.berlios.de/"
13 SRC_URI="mirror://berlios/${PN}/${PN}-${MY_PV}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE=""
19
20 S=${WORKDIR}/${PN}-${MY_PV}
21
22 src_prepare() {
23 sed -i -e 's:/usr/local/sbin:/usr/sbin:g' src/Makefile || die "sed failed!"
24 }
25
26 src_compile() {
27 emake CC=$(tc-getCC) LD=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
28 DESTDIR="${D}" || die "emake failed"
29 }
30
31 src_install() {
32 emake DESTDIR="${D}" install || die "emake install failed"
33 doman man/fatsort.8 || die "doman failed"
34 dodoc CHANGES README TODO || die "dodoc failed"
35 }

  ViewVC Help
Powered by ViewVC 1.1.20