mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 10:48:34 +00:00
Add tinyalsa package
This commit is contained in:
parent
24b4717b8a
commit
a5e549fd6b
24
pkgs/tinyalsa
Normal file
24
pkgs/tinyalsa
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
url=$mirror/tinyalsa.tar.gz
|
||||||
|
|
||||||
|
fetch() {
|
||||||
|
wget -c $url -O src/tinyalsa.tar.gz
|
||||||
|
}
|
||||||
|
|
||||||
|
unpack() {
|
||||||
|
cd src
|
||||||
|
[ -d tinyalsa ] || tar xzf tinyalsa.tar.gz
|
||||||
|
cd -
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd src/tinyalsa
|
||||||
|
make CC=x86_64-linux-musl-gcc || return 1
|
||||||
|
cd -
|
||||||
|
}
|
||||||
|
|
||||||
|
install() {
|
||||||
|
cd src/tinyalsa
|
||||||
|
cp tinycap tinymix tinypcminfo tinyplay "$root/bin"
|
||||||
|
cp libtinyalsa.a "$root/lib"
|
||||||
|
cd -
|
||||||
|
}
|
3
stage0
3
stage0
@ -32,6 +32,7 @@ packages="crossmusl
|
|||||||
tinywm
|
tinywm
|
||||||
xsetroot
|
xsetroot
|
||||||
terminus
|
terminus
|
||||||
dwm"
|
dwm
|
||||||
|
tinyalsa"
|
||||||
|
|
||||||
./pkgbuild $packages
|
./pkgbuild $packages
|
||||||
|
Loading…
Reference in New Issue
Block a user