summaryrefslogtreecommitdiffstats
path: root/extra/grub2/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-25 19:00:58 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-25 19:00:58 +0100
commit90d6f88e5e615e027766c76dc74160686d8a83a8 (patch)
treef36519a206067f1ddccd42f2f7d90fe98cf1ebaf /extra/grub2/Pkgfile
parent0c18214dce5960e88730ff5cac5c9a8c13712776 (diff)
downloadnutyx-pakxe-90d6f88e5e615e027766c76dc74160686d8a83a8.tar.gz
nutyx-pakxe-90d6f88e5e615e027766c76dc74160686d8a83a8.tar.bz2
nutyx-pakxe-90d6f88e5e615e027766c76dc74160686d8a83a8.tar.xz
nutyx-pakxe-90d6f88e5e615e027766c76dc74160686d8a83a8.zip
grub2, déplacé dans extra et maj des dépendances
Diffstat (limited to 'extra/grub2/Pkgfile')
-rwxr-xr-xextra/grub2/Pkgfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/grub2/Pkgfile b/extra/grub2/Pkgfile
new file mode 100755
index 000000000..7ecd3e074
--- /dev/null
+++ b/extra/grub2/Pkgfile
@@ -0,0 +1,33 @@
+# 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
+
+name=grub2
+version=1.97.2
+release=1
+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 \
+ --sysconfdir=/etc \
+ --disable-grub-emu \
+ --disable-grub-emu-usb \
+ --disable-grub-fstest \
+ --disable-efiemu \
+ --infodir=/usr/share/info
+ 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
+}