OLD | NEW |
(Empty) | |
| 1 # Copyright 1999-2011 Gentoo Foundation |
| 2 # Distributed under the terms of the GNU General Public License v2 |
| 3 # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/alsa-headers-1.0.24.
ebuild,v 1.1 2011/02/05 23:55:34 chainsaw Exp $ |
| 4 |
| 5 EAPI="3" |
| 6 |
| 7 inherit base |
| 8 |
| 9 MY_PN=${PN/headers/driver} |
| 10 MY_P="${MY_PN}-${PV/_rc/rc}" |
| 11 S="${WORKDIR}/${MY_P}" |
| 12 |
| 13 DESCRIPTION="Header files for Advanced Linux Sound Architecture kernel modules" |
| 14 HOMEPAGE="http://www.alsa-project.org/" |
| 15 SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2" |
| 16 |
| 17 LICENSE="GPL-2" |
| 18 SLOT="0" |
| 19 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd6
4-linux ~x86-linux ~ppc-macos" |
| 20 IUSE="" |
| 21 |
| 22 DEPEND="" |
| 23 RDEPEND="" |
| 24 |
| 25 RESTRICT="binchecks strip" |
| 26 |
| 27 PATCHES=( |
| 28 "${FILESDIR}/${PN}-1.0.6a-user.patch" |
| 29 ) |
| 30 |
| 31 # Remove the sound symlink workaround... |
| 32 pkg_setup() { |
| 33 if [[ -L ${EROOT}usr/include/sound ]]; then |
| 34 rm "${EROOT}usr/include/sound" |
| 35 fi |
| 36 } |
| 37 |
| 38 src_configure() { :; } |
| 39 |
| 40 src_compile() { :; } |
| 41 |
| 42 src_install() { |
| 43 cd "${S}/alsa-kernel/include" |
| 44 insinto /usr/include/sound |
| 45 doins *.h || die "include failed" |
| 46 } |
OLD | NEW |