diff options
-rw-r--r-- | media-sound/oss-driver/Manifest | 13 | ||||
-rw-r--r-- | media-sound/oss-driver/metadata.xml | 6 | ||||
-rw-r--r-- | media-sound/oss-driver/oss-driver-4.2.2004.ebuild | 43 |
3 files changed, 62 insertions, 0 deletions
diff --git a/media-sound/oss-driver/Manifest b/media-sound/oss-driver/Manifest new file mode 100644 index 0000000..d735207 --- /dev/null +++ b/media-sound/oss-driver/Manifest @@ -0,0 +1,13 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST oss4-dkms_4.2-build2004-1_amd64.deb 1033258 RMD160 0f4dca00d28dfc9924f61ea68993f22c6327a568 SHA1 1e3669e7f8b1b9f34261e343cbf27173b894b9a6 SHA256 f57e5839fe0ddd0691a6f1a8cf9e63fac1fa8a21ef0cf4bc37de8f6be6415fc2 +EBUILD oss-driver-4.2.2004.ebuild 1028 RMD160 7713ff2dddaa35901fa7eb678bb43540c55cc757 SHA1 f92d5a128e21c3d5b3de9b300ed6955c42c071e9 SHA256 3c728449aefc014bbc76476f04ff3c763ad952cbafaf547ea0355d18a705c86a +MISC metadata.xml 162 RMD160 8056876fd0119a9fcf1cf8e6a622173f9a2a41a6 SHA1 54fe1b9e689c641de2d237db03c8c38c6f7b6522 SHA256 c754e9c767b98b9894c12dd21b8ef1d01f2b5e58813a286f9a62f20078888d85 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iF4EAREIAAYFAk4e5SIACgkQmWq1bYTyC0OWKAD/Sdh9dK+5gntQMT7jk7584tmc +wM00Wyindo9OiO3CpNkA/Rcd3PQhRGt1zPR4QsqrWcoYXUsl3J5rvy+ZI/7tn62g +=EgTd +-----END PGP SIGNATURE----- diff --git a/media-sound/oss-driver/metadata.xml b/media-sound/oss-driver/metadata.xml new file mode 100644 index 0000000..1bb9c56 --- /dev/null +++ b/media-sound/oss-driver/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> +</pkgmetadata> + diff --git a/media-sound/oss-driver/oss-driver-4.2.2004.ebuild b/media-sound/oss-driver/oss-driver-4.2.2004.ebuild new file mode 100644 index 0000000..ca21fd8 --- /dev/null +++ b/media-sound/oss-driver/oss-driver-4.2.2004.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +inherit linux-mod versionator + +MY_PV=$(get_version_component_range 1-2) +BUILD=$(get_version_component_range 3) + +DESCRIPTION="Open Sound System" +HOMEPAGE="http://developer.opensound.com/" +SRC_URI="mirror://debian/pool/main/o/oss4/oss4-dkms_${MY_PV}-build${BUILD}-1_amd64.deb" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_unpack() { + unpack ${A} + mkdir "${S}" + cd "${S}" + tar xf "${WORKDIR}"/data.tar.gz +} + +src_compile() { + cd usr/src/oss4-${MY_PV}-build${BUILD} + set_arch_to_kernel + cp /usr/include/linux/limits.h core + emake -C "${KV_DIR}" SUBDIRS="$(pwd)"/core modules + emake -C drivers osscore_symbols.inc + emake -C "${KV_DIR}" SUBDIRS="$(pwd)"/drivers modules +} + +src_install() { + cd usr/src/oss4-${MY_PV}-build${BUILD} + insinto /lib/modules/${KV_FULL}/kernel/sound/core + doins core/osscore.${KV_OBJ} + + insinto /lib/modules/${KV_FULL}/kernel/sound/pci + doins drivers/*.${KV_OBJ} +} |