Gentoo Archives: gentoo-commits

From: Daniel Pielmeier <billie@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/fatsort/
Date: Sun, 07 Oct 2018 14:28:58
Message-Id: 1538922522.659d97b57d94d78db2f602f7b40a2a658fe02698.billie@gentoo
1 commit: 659d97b57d94d78db2f602f7b40a2a658fe02698
2 Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 7 14:28:17 2018 +0000
4 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 7 14:28:42 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659d97b5
7
8 sys-fs/fatsort: Version bump to 1.5.0. Switch to EAPI 7.
9
10 Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12
13 sys-fs/fatsort/Manifest | 1 +
14 sys-fs/fatsort/fatsort-1.5.0.ebuild | 38 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 39 insertions(+)
16
17 diff --git a/sys-fs/fatsort/Manifest b/sys-fs/fatsort/Manifest
18 index a556760e427..3f97b2b9d9b 100644
19 --- a/sys-fs/fatsort/Manifest
20 +++ b/sys-fs/fatsort/Manifest
21 @@ -1 +1,2 @@
22 DIST fatsort-1.4.2.439.tar.xz 41852 BLAKE2B 30ffc8575ca50a71c09c5f90e658a150ece34a9bed664696d8969ccbe4c3cb1b0130d830990e259889fab331ccf0c35e3f0aa3401628fdff3e04acbb7d0b53dd SHA512 c51b5316b34e1a74e2a8d1c625716fd022d32e40a92ef56b88fbc940b5e6dd6c978b733f180477e8b5b3235b46cd16eb74798c5aadd45de9ead1f1bafdf52fee
23 +DIST fatsort-1.5.0.456.tar.xz 56100 BLAKE2B 996f144c67a2311ef9962b06e776d0a0c8897814383e50c9f48f5af0bc800159ee34c10d9f8d51dae5160844dfe9fcbc4b56bb9883cbdb0402a0ea20198fc1d6 SHA512 fe9d8108494fd64da730ec40882582fc16a89e76a5ba4e8040d03a3dbbf12c525904abe24814337713f5f1d15c72e8321b27fad69db816c073a96fbfd15ea486
24
25 diff --git a/sys-fs/fatsort/fatsort-1.5.0.ebuild b/sys-fs/fatsort/fatsort-1.5.0.ebuild
26 new file mode 100644
27 index 00000000000..55682645fa1
28 --- /dev/null
29 +++ b/sys-fs/fatsort/fatsort-1.5.0.ebuild
30 @@ -0,0 +1,38 @@
31 +# Copyright 1999-2018 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit toolchain-funcs
37 +
38 +SVN_REV=456
39 +MY_P=${P}.${SVN_REV}
40 +
41 +DESCRIPTION="Sorts files on FAT16/32 partitions, ideal for basic audio players"
42 +HOMEPAGE="http://fatsort.sourceforge.net/"
43 +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +
49 +S=${WORKDIR}/${MY_P}
50 +
51 +src_prepare() {
52 + default
53 +
54 + sed -i -e '/^\(MANDIR=\|SBINDIR=\)/s|/usr/local|/usr|' \
55 + $(find ./ -name Makefile) || die
56 +}
57 +
58 +src_compile() {
59 + emake CC=$(tc-getCC) LD=$(tc-getCC) \
60 + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
61 + DESTDIR="${D}"
62 +}
63 +
64 +src_test() {
65 + # Tests require root permissions and mounting filesystems which does
66 + # not work inside the ebuild environment
67 + true
68 +}