wok-next annotate grub/receipt @ rev 20790
1. update also pinentry-gtk to new version 2. add to both fltk-dev so fltk-config is found 3. I want to force also a build to see if it really builds OKish here (see wok-build)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 11:23:42 2018 +0000 (2018-06-09) |
parents | c2b2f2268068 |
children | d958fec46c9f |
rev | line source |
---|---|
pankso@29 | 1 # SliTaz package receipt. |
pankso@29 | 2 |
pankso@29 | 3 PACKAGE="grub" |
pankso@29 | 4 VERSION="0.97" |
pankso@211 | 5 CATEGORY="base-system" |
pankso@29 | 6 SHORT_DESC="GRUB boot loader." |
pankso@29 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15078 | 8 LICENSE="GPL2" |
pankso@29 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@29 | 10 WEB_SITE="http://www.gnu.org/software/grub/" |
pankso@29 | 11 WGET_URL="ftp://alpha.gnu.org/gnu/grub/$TARBALL" |
pascal@1633 | 12 CONFIG_FILES="/boot/grub" |
pankso@29 | 13 |
pascal@12235 | 14 BUILD_DEPENDS="gcc3" |
pascal@12235 | 15 |
pankso@29 | 16 # Rules to configure and make the package. |
pankso@29 | 17 compile_rules() |
pankso@29 | 18 { |
pascal@12235 | 19 sed -i 's/\[ .grub-probe.*\]/mount | grep $grubdir | grep -q xfs/' \ |
pascal@12235 | 20 util/grub-install.in |
pascal@12235 | 21 ./configure CC=gcc-3 --prefix=/usr --infodir=/usr/share/info \ |
pascal@5865 | 22 --without-curses --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1633 | 23 make && |
pascal@15078 | 24 make DESTDIR=$DESTDIR install |
pankso@29 | 25 } |
pankso@29 | 26 |
pankso@29 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@29 | 28 genpkg_rules() |
pankso@29 | 29 { |
pankso@29 | 30 mkdir -p $fs/boot/grub $fs/usr |
pascal@15078 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15078 | 32 cp -a $install/usr/sbin $fs/usr |
pascal@15078 | 33 cp -a $install/usr/lib $fs/usr |
pankso@29 | 34 |
pankso@29 | 35 # Permissions |
pankso@29 | 36 chmod 755 $fs/usr/sbin/grub-* |
pascal@15078 | 37 chmod 655 $fs/usr/lib/grub/*/* |
pankso@29 | 38 |
pankso@29 | 39 # Strip. |
pankso@29 | 40 # Example config file (menu.lst). |
pascal@18763 | 41 cp $stuff/example-menu.lst $fs/boot/grub |
pascal@18763 | 42 cp $stuff/splash.xpm.gz $fs/boot/grub |
pankso@29 | 43 } |
pankso@29 | 44 |