wok-4.x view gnu-efi/receipt @ rev 9219

wvdial: needs -j1
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 11 16:47:05 2011 +0100 (2011-03-11)
parents dc6010348018
children ce538de5d43c
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 -j1 && make -j1 install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $_pkg/* $fs
29 }