summaryrefslogtreecommitdiffstats
path: root/base/grub2/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-09-20 18:11:55 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-09-20 18:11:55 +0200
commite31cb7fa4bff9b0da5a2c13405b005f31da8a4aa (patch)
treef17c0f8959e77e0972d51f40153bac0012c6fb2b /base/grub2/Pkgfile
parent427aea9ecc769607f426e6ae1fca1d85ef32de78 (diff)
downloadnutyx-extra-e31cb7fa4bff9b0da5a2c13405b005f31da8a4aa.tar.gz
nutyx-extra-e31cb7fa4bff9b0da5a2c13405b005f31da8a4aa.tar.bz2
nutyx-extra-e31cb7fa4bff9b0da5a2c13405b005f31da8a4aa.tar.xz
nutyx-extra-e31cb7fa4bff9b0da5a2c13405b005f31da8a4aa.zip
Ajout de grub2#1.97-beta3
Diffstat (limited to 'base/grub2/Pkgfile')
-rwxr-xr-xbase/grub2/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/base/grub2/Pkgfile b/base/grub2/Pkgfile
new file mode 100755
index 000000000..77975efb8
--- /dev/null
+++ b/base/grub2/Pkgfile
@@ -0,0 +1,32 @@
+# 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:
+
+name=grub2
+version=1.97~beta3
+release=4
+source=(ftp://alpha.gnu.org/gnu/grub/grub-$version.tar.gz\
+ grub.cfg)
+build() {
+ cd grub-$version
+ unset CXXFLAGS
+ unset CFLAGS
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+ make DESTDIR=$PKG install
+ install -d $PKG/boot/grub
+ install -d $PKG/usr/share
+ # cp -v ../message $PKG/boot/
+# cp -v $PKG/usr/lib/grub/i386-pc/stage{1,2} $PKG/boot/grub
+# cp -v $PKG/usr/lib/grub/i386-pc/e2fs_stage1_5 $PKG/boot/grub
+# cp -v $PKG/usr/lib/grub/i386-pc/reiserfs_stage1_5 $PKG/boot/grub
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
+ install -Dm644 ../grub.cfg \
+ $PKG/boot/grub/grub.cfg
+}