summaryrefslogtreecommitdiffstats
path: root/grub/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-04-03 22:24:49 +0200
committertnut <tnut at nutyx dot com>2012-04-03 22:24:49 +0200
commit663d99c060146b2761931e4d96823f348c3b2c2b (patch)
tree98acfbc97e5bbc2395c254406cedb15cf43c1a93 /grub/Pkgfile
parent9d0d2f9d5408c1725b0556ce0f9398cf584d103f (diff)
downloadnutyx-pakxe-663d99c060146b2761931e4d96823f348c3b2c2b.tar.gz
nutyx-pakxe-663d99c060146b2761931e4d96823f348c3b2c2b.tar.bz2
nutyx-pakxe-663d99c060146b2761931e4d96823f348c3b2c2b.tar.xz
nutyx-pakxe-663d99c060146b2761931e4d96823f348c3b2c2b.zip
ajout de grub
Diffstat (limited to 'grub/Pkgfile')
-rwxr-xr-xgrub/Pkgfile35
1 files changed, 35 insertions, 0 deletions
diff --git a/grub/Pkgfile b/grub/Pkgfile
new file mode 100755
index 000000000..93cd1a20d
--- /dev/null
+++ b/grub/Pkgfile
@@ -0,0 +1,35 @@
+# Description: GRand Unified Bootloader, le programme de chargement du noyau en mémoire vive
+# URL: http://www.gnu.org/software/grub/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: freetype
+# Run on: freetype
+
+name=grub
+version=1.99
+release=1
+source=(ftp://ftp.gnu.org/gnu/grub/grub-$version.tar.gz\
+ grub.cfg)
+build() {
+ cd grub-$version
+ unset CXXFLAGS
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ --disable-grub-emu \
+ --disable-grub-emu-usb \
+ --disable-grub-fstest \
+ --disable-efiemu \
+ --infodir=/usr/share/info \
+ --disable-werror
+ make
+ make DESTDIR=$PKG install
+ install -d $PKG/boot/grub
+ install -d $PKG/usr/share
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
+ install -Dm644 ../grub.cfg \
+ $PKG/boot/grub/grub.cfg
+}
+