From 3d1235af060955e271be68240c0ca46bc6d81b03 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 25 Mar 2014 15:24:04 +0100 Subject: [modules] new module naming convention rename $MODULE.{conf,build} to module.{conf,build} --- remote/modules/alsa/module.build | 19 +++++++++++++++++++ remote/modules/alsa/module.conf | 8 ++++++++ remote/modules/alsa/module.conf.debian | 5 +++++ remote/modules/alsa/module.conf.opensuse | 5 +++++ remote/modules/alsa/module.conf.scientific | 12 ++++++++++++ remote/modules/alsa/module.conf.ubuntu | 5 +++++ 6 files changed, 54 insertions(+) create mode 100644 remote/modules/alsa/module.build create mode 100644 remote/modules/alsa/module.conf create mode 100644 remote/modules/alsa/module.conf.debian create mode 100644 remote/modules/alsa/module.conf.opensuse create mode 100644 remote/modules/alsa/module.conf.scientific create mode 100644 remote/modules/alsa/module.conf.ubuntu (limited to 'remote/modules/alsa') diff --git a/remote/modules/alsa/module.build b/remote/modules/alsa/module.build new file mode 100644 index 00000000..4d3990b1 --- /dev/null +++ b/remote/modules/alsa/module.build @@ -0,0 +1,19 @@ +fetch_source() { + : +} + +build() { + COPYLIST="list_dpkg_output" + [ -e "$COPYLIST" ] && rm "$COPYLIST" + + + # These shitty greps are 'excludes' for this high quality scientific linux. + list_packet_files | grep -v "^/etc/asound.state" \ + | grep -v "^/etc/modprobe.d/local.conf" >> "$COPYLIST" + tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}" + +} + +post_copy() { + : +} diff --git a/remote/modules/alsa/module.conf b/remote/modules/alsa/module.conf new file mode 100644 index 00000000..2a8be7a1 --- /dev/null +++ b/remote/modules/alsa/module.conf @@ -0,0 +1,8 @@ +REQUIRED_BINARIES=" + amixer + alsamixer +" +REQUIRED_DIRECTORIES=" /usr/share/alsa + /etc/modprobe.d +" + diff --git a/remote/modules/alsa/module.conf.debian b/remote/modules/alsa/module.conf.debian new file mode 100644 index 00000000..b1f9f0e2 --- /dev/null +++ b/remote/modules/alsa/module.conf.debian @@ -0,0 +1,5 @@ +REQUIRED_CONTENT_PACKAGES=" + alsa-utils + alsa-base + libasound2 +" diff --git a/remote/modules/alsa/module.conf.opensuse b/remote/modules/alsa/module.conf.opensuse new file mode 100644 index 00000000..17651c29 --- /dev/null +++ b/remote/modules/alsa/module.conf.opensuse @@ -0,0 +1,5 @@ +REQUIRED_CONTENT_PACKAGES=" + alsa-utils + alsa + libasound2 +" diff --git a/remote/modules/alsa/module.conf.scientific b/remote/modules/alsa/module.conf.scientific new file mode 100644 index 00000000..643e52d3 --- /dev/null +++ b/remote/modules/alsa/module.conf.scientific @@ -0,0 +1,12 @@ +REQUIRED_INSTALLED_PACKAGES=" + module-init-tools + alsa-utils + alsa-lib +" +REQUIRED_CONTENT_PACKAGES=" + module-init-tools + alsa-utils + alsa-lib +" + +# libasound2 diff --git a/remote/modules/alsa/module.conf.ubuntu b/remote/modules/alsa/module.conf.ubuntu new file mode 100644 index 00000000..b1f9f0e2 --- /dev/null +++ b/remote/modules/alsa/module.conf.ubuntu @@ -0,0 +1,5 @@ +REQUIRED_CONTENT_PACKAGES=" + alsa-utils + alsa-base + libasound2 +" -- cgit v1.2.3-55-g7522