summaryrefslogtreecommitdiff
path: root/repo/media/alsa-firmware.xibuild
blob: d6311a946faeb4b872c5745b8a09d4b117cf5262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

MAKEDEPS="make xmlto"
DEPS="alsa-tools"

DESC="Firmware binaries for loader programs in alsa-tools and hotplug firmware loader"

PKG_VER=1.2.4
SOURCE=https://www.alsa-project.org/files/pub/firmware/alsa-firmware-$PKG_VER.tar.bz2
ADDITIONAL="
    use-uint32_t-instead-u_int32_t.patch
"

prepare () {
    apply_patches
}

build () {
    ./configure --prefix=/usr &&
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}