iglunix/extra/yasm/build.sh
Ella Stanforth 513d7d5ceb add yasm
2021-12-26 13:49:49 +00:00

32 lines
460 B
Bash

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
}