summaryrefslogtreecommitdiff
blob: 7f7bf7f7e776f4f064ca193a6598528b803a77c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="Open-source PSF1 (Playstation music) file player"
HOMEPAGE="http://projects.raphnet.net/#sexypsf"
SRC_URI="http://projects.raphnet.net/sexypsf/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"

RDEPEND="sys-libs/zlib"
DEPEND="${RDEPEND}"

PATCHES=(
	"${FILESDIR}"/${PN}-0.4.8-Makefile.patch
	"${FILESDIR}"/${PN}-0.4.8-fno-common.patch
)

src_configure() {
	tc-export CC
}

src_compile() {
	emake -C Linux
}

src_install() {
	dobin Linux/sexypsf
	dodoc -r Docs/.
}