iglunix/linux/limine/build.sh

33 lines
534 B
Bash
Raw Normal View History

2021-09-16 10:37:33 +00:00
pkgname=limine
2022-04-21 22:57:08 +00:00
pkgver=3.4.1
2021-09-16 10:37:33 +00:00
mkdeps="nasm:llvm"
fetch() {
curl -L "https://github.com/limine-bootloader/limine/releases/download/v$pkgver/limine-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
2021-09-16 10:37:33 +00:00
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
export CC=clang
2022-04-21 22:58:07 +00:00
bad --gmake ./configure \
--build=$HOST_TRIPLE \
--host=$TRIPLE \
--prefix=/usr
bad --gmake gmake
2021-09-16 10:37:33 +00:00
}
package() {
cd $pkgname-$pkgver
2022-04-21 22:57:08 +00:00
bad --gmake gmake install DESTDIR=$pkgdir
2021-09-16 10:37:33 +00:00
}
license() {
cd $pkgname-$pkgver
cat LICENSE.md
}
backup() {
return
}