wok annotate gnu-efi/receipt @ rev 7635
bash: add a timer on sh link question.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Dec 13 14:30:20 2010 +0100 (2010-12-13) |
parents | |
children | df856c87ba2b |
rev | line source |
---|---|
pascal@4337 | 1 # SliTaz package receipt. |
pascal@4337 | 2 |
pascal@4337 | 3 PACKAGE="gnu-efi" |
pascal@4337 | 4 VERSION="3.0i" |
pascal@4337 | 5 CATEGORY="development" |
pascal@4337 | 6 SHORT_DESC="Development files for EFI applications." |
pascal@4337 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4337 | 8 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
pascal@4337 | 9 WEB_SITE="http://gnu-efi.sourceforge.net/" |
pascal@4337 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@4337 | 11 |
pascal@4337 | 12 # Rules to configure and make the package. |
pascal@4337 | 13 compile_rules() |
pascal@4337 | 14 { |
pascal@4337 | 15 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` |
pascal@4337 | 16 if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then |
pascal@4337 | 17 tazwok cook linux |
pascal@4337 | 18 fi |
pascal@4337 | 19 cd $src |
pascal@4337 | 20 sed -i "s|^INSTALLROOT.*|INSTALLROOT=$PWD/_pkg/usr|" Make.defaults |
pascal@4337 | 21 sed -i "s|^LINUX_HEADERS.*|LINUX_HEADERS=$WOK/linux/linux-$KERNEL_VERSION|" apps/Makefile |
pascal@4337 | 22 make && make install |
pascal@4337 | 23 } |
pascal@4337 | 24 |
pascal@4337 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4337 | 26 genpkg_rules() |
pascal@4337 | 27 { |
pascal@4337 | 28 cp -a $_pkg/* $fs |
pascal@4337 | 29 } |
pascal@4337 | 30 |