add alsa
This commit is contained in:
parent
685214107f
commit
95a518736e
1 changed files with 28 additions and 0 deletions
28
pkgs/alsa-lib/build.sh
Normal file
28
pkgs/alsa-lib/build.sh
Normal 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
|
||||
}
|
Loading…
Reference in a new issue