wok-next annotate grub2/receipt @ rev 12450

freeradius: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 21 20:08:02 2012 +0200 (2012-04-21)
parents 29d88a35aadf
children b2098fa1f6ea
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"
slaxemulator@9251 10 DEPENDS="zlib freetype ncurses libusb-compat grep libusb"
slaxemulator@8544 11 BUILD_DEPENDS="bison 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