wok view gnu-efi/receipt @ rev 6929
Up: mpfr to 3.0.0p4. Added a EXTRAVERSION since i patching it with p4 patch.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 23:13:10 2010 +0000 (2010-10-22) |
parents | |
children | df856c87ba2b |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnu-efi"
4 VERSION="3.0i"
5 CATEGORY="development"
6 SHORT_DESC="Development files for EFI applications."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
9 WEB_SITE="http://gnu-efi.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
16 if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then
17 tazwok cook linux
18 fi
19 cd $src
20 sed -i "s|^INSTALLROOT.*|INSTALLROOT=$PWD/_pkg/usr|" Make.defaults
21 sed -i "s|^LINUX_HEADERS.*|LINUX_HEADERS=$WOK/linux/linux-$KERNEL_VERSION|" apps/Makefile
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $_pkg/* $fs
29 }