wok-6.x rev 15078
grub: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 17:02:48 2013 +0000 (2013-08-13) |
parents | ce500f4b78ff |
children | 0f6e994c05b9 |
files | grub/receipt |
line diff
1.1 --- a/grub/receipt Tue Aug 13 16:51:29 2013 +0000 1.2 +++ b/grub/receipt Tue Aug 13 17:02:48 2013 +0000 1.3 @@ -5,6 +5,7 @@ 1.4 CATEGORY="base-system" 1.5 SHORT_DESC="GRUB boot loader." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 +LICENSE="GPL2" 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WEB_SITE="http://www.gnu.org/software/grub/" 1.10 WGET_URL="ftp://alpha.gnu.org/gnu/grub/$TARBALL" 1.11 @@ -26,20 +27,20 @@ 1.12 ./configure CC=gcc-3 --prefix=/usr --infodir=/usr/share/info \ 1.13 --without-curses --mandir=/usr/share/man $CONFIGURE_ARGS && 1.14 make && 1.15 - make DESTDIR=$PWD/_pkg install 1.16 + make DESTDIR=$DESTDIR install 1.17 } 1.18 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 mkdir -p $fs/boot/grub $fs/usr 1.23 - cp -a $_pkg/usr/bin $fs/usr 1.24 - cp -a $_pkg/usr/sbin $fs/usr 1.25 - cp -a $_pkg/usr/lib $fs/usr 1.26 + cp -a $install/usr/bin $fs/usr 1.27 + cp -a $install/usr/sbin $fs/usr 1.28 + cp -a $install/usr/lib $fs/usr 1.29 1.30 # Permissions 1.31 chmod 755 $fs/usr/sbin/grub-* 1.32 - chmod 655 $fs/usr/lib/grub/i386-pc/* 1.33 + chmod 655 $fs/usr/lib/grub/*/* 1.34 1.35 # Strip. 1.36 # Example config file (menu.lst).