diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-03-17 20:37:23 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-03-17 20:37:23 +0000 |
commit | 1cb58155c9c1b6e571389f1e7c5623471de5c3f2 (patch) | |
tree | b6718b7e1b3ec2b716877bdbf06691e5d9c65c46 /media-sound/alsa-headers/alsa-headers-1.0.14_rc3.ebuild | |
parent | Version bump. Thanks to Diego Pettenò <flameeyes@gmail.com>. (diff) | |
download | gentoo-2-1cb58155c9c1b6e571389f1e7c5623471de5c3f2.tar.gz gentoo-2-1cb58155c9c1b6e571389f1e7c5623471de5c3f2.tar.bz2 gentoo-2-1cb58155c9c1b6e571389f1e7c5623471de5c3f2.zip |
Version bump. Thanks to Diego Pettenò <flameeyes@gmail.com>.
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-sound/alsa-headers/alsa-headers-1.0.14_rc3.ebuild')
-rw-r--r-- | media-sound/alsa-headers/alsa-headers-1.0.14_rc3.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/media-sound/alsa-headers/alsa-headers-1.0.14_rc3.ebuild b/media-sound/alsa-headers/alsa-headers-1.0.14_rc3.ebuild new file mode 100644 index 000000000000..9ba1f3bda3da --- /dev/null +++ b/media-sound/alsa-headers/alsa-headers-1.0.14_rc3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2007 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.14_rc3.ebuild,v 1.1 2007/03/17 20:37:23 betelgeuse Exp $ + +inherit eutils + +MY_PN=${PN/headers/driver} +MY_P="${MY_PN}-${PV/_rc/rc}" +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Header files for Advanced Linux Sound Architecture kernel modules" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="" + +DEPEND="" + +RESTRICT="binchecks strip" + +# Remove the sound symlink workaround... +pkg_setup() { + if [[ -L "${ROOT}/usr/include/sound" ]]; then + rm "${ROOT}/usr/include/sound" + fi +} + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}/${PN}-1.0.6a-user.patch" +} + +src_compile() { :; } + +src_install() { + cd "${S}/alsa-kernel/include" + insinto /usr/include/sound + doins *.h || die "include failed" +} |