wok-next view gnu-efi/receipt @ rev 10466

gnu-efi: fix install path
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 25 11:35:30 2011 +0200 (2011-05-25)
parents 424987224cf3
children 7bb096863642
line source
1 # SliTaz package receipt.
3 PACKAGE="gnu-efi"
4 VERSION="3.0k"
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 BUILD_DEPENDS="linux-api-headers"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)
18 cd $src
19 sed -i "s|^INSTALLROOT.*|INSTALLROOT=$DESTDIR/usr|" Make.defaults
20 make -j1 && make -j1 install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/* $fs
27 }