diff options
Diffstat (limited to 'sys-fs/fatsort/fatsort-0.9.11.196.ebuild')
-rw-r--r-- | sys-fs/fatsort/fatsort-0.9.11.196.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-fs/fatsort/fatsort-0.9.11.196.ebuild b/sys-fs/fatsort/fatsort-0.9.11.196.ebuild new file mode 100644 index 000000000000..7579478a7799 --- /dev/null +++ b/sys-fs/fatsort/fatsort-0.9.11.196.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/fatsort/fatsort-0.9.11.196.ebuild,v 1.1 2009/09/28 16:59:52 billie Exp $ + +EAPI="2" + +inherit toolchain-funcs versionator + +MY_PV=$(replace_version_separator 3 '-') + +DESCRIPTION="Sorts files on FAT16/32 partitions, ideal for basic audio players." +HOMEPAGE="http://fatsort.berlios.de/" +SRC_URI="mirror://berlios/${PN}/${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S=${WORKDIR}/${PN}-${MY_PV} + +src_prepare() { + sed -i -e 's:/usr/local/sbin:/usr/sbin:g' src/Makefile || die "sed failed!" +} + +src_compile() { + emake CC=$(tc-getCC) LD=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ + DESTDIR="${D}" || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + doman man/fatsort.8 || die "doman failed" + dodoc CHANGES README TODO || die "dodoc failed" +} |