wok annotate grub2/receipt @ rev 6342

Up : hostapd 0.7.3
author Antoine Bodin <gokhlayeh@mailoo.org>
date Sun Sep 19 14:11:56 2010 +0200 (2010-09-19)
parents 7178ee57551a
children 29d88a35aadf
rev   line source
pascal@4478 1 # SliTaz package receipt.
pascal@4478 2
pascal@4478 3 PACKAGE="grub2"
pascal@4478 4 SOURCE="grub"
slaxemulator@5375 5 VERSION="1.98"
pascal@4478 6 CATEGORY="base-system"
pascal@4478 7 SHORT_DESC="GRUB2 boot loader."
pascal@4478 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@4478 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@4478 10 DEPENDS="zlib freetype ncurses libusb-compat libusb"
pascal@4478 11 BUILD_DEPENDS="zlib-dev freetype-dev ncurses-dev libusb-compat-dev libusb-dev"
pascal@4478 12 WEB_SITE="http://www.gnu.org/software/grub/"
pascal@4478 13 WGET_URL="ftp://alpha.gnu.org/gnu/grub/$TARBALL"
pascal@4478 14
pascal@4478 15 # Rules to configure and make the package.
pascal@4478 16 compile_rules()
pascal@4478 17 {
pascal@4478 18 cd $src
pascal@4480 19 chmod +x install-sh
pascal@4478 20 ./configure --prefix=/usr --sysconfdir=/etc \
pascal@4478 21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@4478 22 make &&
pascal@4478 23 make DESTDIR=$PWD/_pkg install
pascal@4478 24 }
pascal@4478 25
pascal@4478 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4478 27 genpkg_rules()
pascal@4478 28 {
pascal@4478 29 mkdir -p $fs/boot/grub $fs/usr
pascal@4478 30 cp -a $_pkg/usr/bin $fs/usr
pascal@4478 31 cp -a $_pkg/usr/sbin $fs/usr
pascal@4478 32 cp -a $_pkg/usr/lib $fs/usr
pascal@4478 33 cp -a $_pkg/etc $fs
pascal@4478 34
pascal@4478 35 # Example config file (grub.cfg).
pascal@4478 36 cp stuff/example-grub.cfg $fs/boot/grub
pascal@4478 37 }
pascal@4478 38