iglunix/linux/limine/build.sh

34 lines
552 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"
2022-04-22 19:42:08 +00:00
auto_cross
2021-09-16 10:37:33 +00:00
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
2022-04-22 19:42:08 +00:00
export LIMINE_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
}