summaryrefslogtreecommitdiff
path: root/media-libs/libxmp/libxmp-9999.ebuild
blob: f6027f5b906c9d2ccc1edc6e83c570a3ccbf44c4 (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Library that renders module files to PCM data"
HOMEPAGE="https://github.com/libxmp/libxmp"

if [[ ${PV} == *9999 ]] ; then
	inherit autotools git-r3
	EGIT_REPO_URI="https://github.com/libxmp/libxmp.git"
else
	SRC_URI="https://github.com/libxmp/${PN}/releases/download/${P}/${P}.tar.gz"
	KEYWORDS="~amd64"
fi

# bzip2 depacker code is 0BSD
LICENSE="MIT 0BSD"
SLOT="0"

src_prepare() {
	default
	[[ ${PV} == *9999 ]] && eautoreconf
}

src_compile() {
	emake V=1
}