blob: eaeb056ce884ff4c786ee0d16630018fcb987437 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/alsa-headers-1.0.25-r1.ebuild,v 1.1 2013/04/16 04:09:12 ssuominen Exp $
EAPI=5
if [[ ${PV} = 9999* ]]; then
inherit git-2
else
MY_P=${P/headers/driver}
SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2"
S=${WORKDIR}/${MY_P}
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
fi
inherit eutils
DESCRIPTION="Header files for Advanced Linux Sound Architecture kernel modules"
HOMEPAGE="http://www.alsa-project.org/"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
IUSE=""
RESTRICT="binchecks strip"
EGIT_REPO_URI="git://git.alsa-project.org/alsa-kmirror.git
http://git.alsa-project.org/http/alsa-kmirror.git"
pkg_setup() {
local obsolete_symlink="${ROOT}"/usr/include/sound
if [[ -L ${obsolete_symlink} ]]; then
ebegin "Removing obsolete symlink ${obsolete_symlink}"
rm "${obsolete_symlink}"
eend $?
fi
}
src_prepare() {
[[ ${PV} = 9999* ]] || epatch "${FILESDIR}"/${PN}-1.0.6a-user.patch
}
src_configure() { :; }
src_compile() { :; }
src_install() {
[[ ${PV} = 9999* ]] || cd alsa-kernel
insinto /usr/include/sound
doins include/*.h
}
|