wok-next view gnu-efi/receipt @ rev 8409
Up: xorg-xrdb to 1.0.8.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 05 15:31:18 2011 +0000 (2011-02-05) |
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 }