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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Sep 28 16:59:52 2009 UTC (5 years ago) by billie
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump. Remove old.
(Portage version: 2.1.6.13/cvs/Linux i686)

1 # Copyright 1999-2008 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.10.187.ebuild,v 1.2 2008/12/31 03:43:00 mr_bones_ Exp $
4
5 inherit toolchain-funcs versionator
6
7 MY_PV=$(replace_version_separator 3 '-')
8
9 DESCRIPTION="Sorts files on FAT16/32 partitions, ideal for basic audio players."
10 HOMEPAGE="http://fatsort.berlios.de/"
11 SRC_URI="mirror://berlios/${PN}/${PN}-${MY_PV}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 S=${WORKDIR}/${PN}-${MY_PV}
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
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 "compile failed"
29 }
30
31 src_install() {
32 emake DESTDIR="${D}" install || die "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