wok view grub2/receipt @ rev 21094

updated ladspa and ladspa-dev (1.13 -> 1.15)
author Hans-G?nter Theisgen
date Sat Mar 16 16:48:49 2019 +0100 (2019-03-16)
parents 8154fa30d15b
children 81f116b5627e
line source
1 # SliTaz package receipt.
3 PACKAGE="grub2"
4 SOURCE="grub"
5 VERSION="2.02"
6 CATEGORY="base-system"
7 SHORT_DESC="GRUB2 boot loader."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="http://www.gnu.org/software/grub/"
12 WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL"
14 DEPENDS="zlib freetype ncurses libusb-compat grep libusb libdevmapper"
15 BUILD_DEPENDS="flex bison zlib-dev xz-dev freetype-dev ncurses-dev \
16 libusb-compat-dev libusb-dev libdevmapper-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --prefix=/usr --sysconfdir=/etc \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make $MAKEFLAGS &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/boot/grub $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 cp -a $install/usr/share $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 cp -a $install/etc $fs
37 # Example config file (grub.cfg).
38 cp stuff/example-grub.cfg $fs/boot/grub
39 }
41 post_install()
42 {
43 cat <<EOT
44 # To install grub to your sda MBR
45 grub-install /dev/sda
47 # To generate a configuration file
48 grub-mkconfig -o /boot/grub/grub.cfg
50 # You can learn from /boot/grub/example-grub.cfg too.
51 EOT
52 }