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() {
|
2022-04-13 12:38:24 +00:00
|
|
|
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
|
2022-04-21 23:01:18 +00:00
|
|
|
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
|
|
|
|
}
|
2022-04-13 12:38:24 +00:00
|
|
|
|
|
|
|
backup() {
|
|
|
|
return
|
|
|
|
}
|