summaryrefslogtreecommitdiffstats
path: root/extra/grub/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-26 20:00:01 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-26 20:00:01 +0100
commit951660417b0e9fc1cf85675a6cd04543ce989a01 (patch)
tree49c7c76fe91532c8f00ea87858d7d0c753efdc72 /extra/grub/Pkgfile
parent429db18408791a5968cee746f1fd35ec965057d9 (diff)
downloadnutyx-extra-951660417b0e9fc1cf85675a6cd04543ce989a01.tar.gz
nutyx-extra-951660417b0e9fc1cf85675a6cd04543ce989a01.tar.bz2
nutyx-extra-951660417b0e9fc1cf85675a6cd04543ce989a01.tar.xz
nutyx-extra-951660417b0e9fc1cf85675a6cd04543ce989a01.zip
grub2, renommé en grub
Diffstat (limited to 'extra/grub/Pkgfile')
-rwxr-xr-xextra/grub/Pkgfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/grub/Pkgfile b/extra/grub/Pkgfile
new file mode 100755
index 000000000..8429e9184
--- /dev/null
+++ b/extra/grub/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=grub
+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
+}