diff options
author | Daniel Pielmeier <billie@gentoo.org> | 2018-10-07 16:28:17 +0200 |
---|---|---|
committer | Daniel Pielmeier <billie@gentoo.org> | 2018-10-07 16:28:42 +0200 |
commit | 659d97b57d94d78db2f602f7b40a2a658fe02698 (patch) | |
tree | e33bbe014d6bb13e0d908691a80b9db34b95a5f1 /sys-fs/fatsort/fatsort-1.5.0.ebuild | |
parent | sys-kernel/rt-sources: remove old (diff) | |
download | gentoo-659d97b57d94d78db2f602f7b40a2a658fe02698.tar.gz gentoo-659d97b57d94d78db2f602f7b40a2a658fe02698.tar.bz2 gentoo-659d97b57d94d78db2f602f7b40a2a658fe02698.zip |
sys-fs/fatsort: Version bump to 1.5.0. Switch to EAPI 7.
Signed-off-by: Daniel Pielmeier <billie@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'sys-fs/fatsort/fatsort-1.5.0.ebuild')
-rw-r--r-- | sys-fs/fatsort/fatsort-1.5.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-fs/fatsort/fatsort-1.5.0.ebuild b/sys-fs/fatsort/fatsort-1.5.0.ebuild new file mode 100644 index 000000000000..55682645fa1e --- /dev/null +++ b/sys-fs/fatsort/fatsort-1.5.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +SVN_REV=456 +MY_P=${P}.${SVN_REV} + +DESCRIPTION="Sorts files on FAT16/32 partitions, ideal for basic audio players" +HOMEPAGE="http://fatsort.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + + sed -i -e '/^\(MANDIR=\|SBINDIR=\)/s|/usr/local|/usr|' \ + $(find ./ -name Makefile) || die +} + +src_compile() { + emake CC=$(tc-getCC) LD=$(tc-getCC) \ + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ + DESTDIR="${D}" +} + +src_test() { + # Tests require root permissions and mounting filesystems which does + # not work inside the ebuild environment + true +} |