This commit is contained in:
Ella-0 2021-06-24 21:08:56 +00:00
parent 685214107f
commit 95a518736e

28
pkgs/alsa-lib/build.sh Normal file
View file

@ -0,0 +1,28 @@
pkgname=alsa-lib
pkgver=1.2.5.1
fetch() {
curl -L "http://www.alsa-project.org/files/pub/lib/alsa-lib-$pkgver.tar.bz2" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=$TRIPLE \
--host=$TRIPLE
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}