mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
system/midisport-firmware: Added (M-Audio/Midiman MIDI/Audio firmware)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
250dd54506
commit
efb64bcc55
5 changed files with 103 additions and 0 deletions
11
system/midisport-firmware/README
Normal file
11
system/midisport-firmware/README
Normal file
|
@ -0,0 +1,11 @@
|
|||
Firmware loaders for M-Audio/Midiman USB MIDI and Audio devices
|
||||
|
||||
These package allows you to use some of M-Audio's USB MIDI and Audio
|
||||
interfaces with Linux. These devices require a firmware download
|
||||
before a driver (e.g. ALSA's snd-usb-audio) can access them.
|
||||
|
||||
Supported devices include MidiSport 1x1, MidiSport 2x2, MidiSport 4x4,
|
||||
MidiSport 8x8, KeyStation (old models: 49, 61), Oxygen, Radium49,
|
||||
Radium61, and Uno.
|
||||
|
||||
This requires fxload.
|
12
system/midisport-firmware/configure.diff
Normal file
12
system/midisport-firmware/configure.diff
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -Nur midisport-firmware-1.2.orig//configure midisport-firmware-1.2/configure
|
||||
--- midisport-firmware-1.2.orig//configure 2006-03-05 15:01:49.000000000 -0600
|
||||
+++ midisport-firmware-1.2/configure 2010-09-12 01:47:17.753971701 -0500
|
||||
@@ -1737,7 +1737,7 @@
|
||||
|
||||
echo "$as_me:$LINENO: checking for udev version" >&5
|
||||
echo $ECHO_N "checking for udev version... $ECHO_C" >&6
|
||||
-udev_ver=`udevinfo -V | awk '{ print $3 }'`
|
||||
+udev_ver=`udevadm -V`
|
||||
if test -n "$udev_ver"; then
|
||||
echo "$as_me:$LINENO: result: $udev_ver" >&5
|
||||
echo "${ECHO_T}$udev_ver" >&6
|
51
system/midisport-firmware/midisport-firmware.SlackBuild
Normal file
51
system/midisport-firmware/midisport-firmware.SlackBuild
Normal file
|
@ -0,0 +1,51 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for midisport-firmware
|
||||
|
||||
# Written by Felix Pfeifer (pfeifer[dot]felix[at]googlemail[dot]com)
|
||||
|
||||
PRGNAM=midisport-firmware
|
||||
VERSION=${VERSION:-1.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
ARCH=noarch
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -e # Exit on most errors
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
patch -p1 < $CWD/configure.diff
|
||||
|
||||
# udev rules should be in /lib/udev/rules.d/ instead of /etc/udev/rules.d/
|
||||
./configure --prefix=/usr --with-udev=/lib/udev
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a Changelog LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
10
system/midisport-firmware/midisport-firmware.info
Normal file
10
system/midisport-firmware/midisport-firmware.info
Normal file
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="midisport-firmware"
|
||||
VERSION="1.2"
|
||||
HOMEPAGE="http://usb-midi-fw.sourceforge.net/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/usb-midi-fw/midisport-firmware-1.2.tar.gz"
|
||||
MD5SUM="b1e4976b68f396a50e92491caa6f36bc"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Felix Pfeifer"
|
||||
EMAIL="pfeifer[dot]felix[at]googlemail[dot]com"
|
||||
APPROVED="rworkman"
|
19
system/midisport-firmware/slack-desc
Normal file
19
system/midisport-firmware/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
midisport-firmware: midisport-firmware (M-Audio/Midiman MIDI/Audio firmware and loader)
|
||||
midisport-firmware:
|
||||
midisport-firmware: These package allows you to use some of M-Audio's USB MIDI and
|
||||
midisport-firmware: Audio interfaces with Linux. These devices require a firmware
|
||||
midisport-firmware: before an operating system driver (e.g. ALSA's snd-usb-audio)
|
||||
midisport-firmware: can access them.
|
||||
midisport-firmware:
|
||||
midisport-firmware: http://usb-midi-fw.sourceforge.net/
|
||||
midisport-firmware:
|
||||
midisport-firmware:
|
||||
midisport-firmware:
|
Loading…
Reference in a new issue