iglunix/extra/yasm/build.sh

33 lines
460 B
Bash
Raw Normal View History

2021-12-26 13:49:49 +00:00
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
}