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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Jun 9 19:21:46 2011 UTC (3 years, 3 months ago) by billie
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.9.42/cvs/Linux i686)

1 # Copyright 1999-2010 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.13.1.206.ebuild,v 1.4 2010/04/16 18:32:05 hwoarang Exp $
4
5 EAPI="2"
6
7 inherit toolchain-funcs versionator
8
9 MY_PV=$(replace_version_separator 4 '-')
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 "/^\(MANDIR=\|SBINDIR=\)/s|/usr/local|/usr|" $(find ./ -name Makefile)
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 dodoc CHANGES README TODO || die "dodoc failed"
34 }

  ViewVC Help
Powered by ViewVC 1.1.20