wok-6.x annotate gnu-efi/receipt @ rev 15683
Fix wrong variable
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 20:47:24 2013 +0100 (2013-12-20) |
parents | a0efa7876176 |
children | 742a881139b7 |
rev | line source |
---|---|
pascal@4337 | 1 # SliTaz package receipt. |
pascal@4337 | 2 |
pascal@4337 | 3 PACKAGE="gnu-efi" |
pankso@10440 | 4 VERSION="3.0k" |
pascal@4337 | 5 CATEGORY="development" |
pascal@4337 | 6 SHORT_DESC="Development files for EFI applications." |
pascal@4337 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15215 | 8 LICENSE="GPL2" |
pascal@4337 | 9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
pascal@4337 | 10 WEB_SITE="http://gnu-efi.sourceforge.net/" |
pascal@4337 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@4337 | 12 |
pankso@10440 | 13 BUILD_DEPENDS="linux-api-headers" |
pankso@10440 | 14 |
pascal@4337 | 15 # Rules to configure and make the package. |
pascal@4337 | 16 compile_rules() |
pascal@4337 | 17 { |
pankso@10440 | 18 KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2) |
pascal@4337 | 19 cd $src |
pankso@10466 | 20 sed -i "s|^INSTALLROOT.*|INSTALLROOT=$DESTDIR/usr|" Make.defaults |
pascal@9049 | 21 make -j1 && make -j1 install |
pascal@4337 | 22 } |
pascal@4337 | 23 |
pascal@4337 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4337 | 25 genpkg_rules() |
pascal@4337 | 26 { |
pankso@10440 | 27 cp -a $install/* $fs |
pascal@4337 | 28 } |