wok-current annotate gnu-efi/receipt @ rev 20771
cpige: add man page for cook.slitaz.org
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 13 16:56:42 2019 +0100 (2019-02-13) |
parents | 742a881139b7 |
children | 776ff571c9e9 |
rev | line source |
---|---|
pascal@4337 | 1 # SliTaz package receipt. |
pascal@4337 | 2 |
pascal@4337 | 3 PACKAGE="gnu-efi" |
pascal@20150 | 4 VERSION="3.0.6" |
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@20150 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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@20151 | 19 sed -i "s|^\(INSTALLROOT\).*|\1 := $DESTDIR|;s|/local||" Make.defaults |
pascal@9049 | 20 make -j1 && make -j1 install |
pascal@4337 | 21 } |
pascal@4337 | 22 |
pascal@4337 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4337 | 24 genpkg_rules() |
pascal@4337 | 25 { |
pankso@10440 | 26 cp -a $install/* $fs |
pascal@4337 | 27 } |