This commit is contained in:
Ella Stanforth 2021-12-26 13:49:49 +00:00
parent b859e777d0
commit 513d7d5ceb
1 changed files with 32 additions and 0 deletions

32
extra/yasm/build.sh Normal file
View File

@ -0,0 +1,32 @@
pkgname=yasm
pkgver=1.3.0
fetch() {
curl -L "https://github.com/yasm/yasm/releases/download/v$pkgver/yasm-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--sysconfdir=/etc \
# --build=$TRIPLE \
# --host=$TRIPLE
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
backup() {
return
}
license() {
cd $pkgname-$pkgver
cat COPYING
}