wok annotate gnu-efi/receipt @ rev 11335
Up: seamonkey (2.5)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Fri Nov 25 08:31:09 2011 +0000 (2011-11-25) |
parents | 424987224cf3 |
children | 7bb096863642 |
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@4337 | 8 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
pascal@4337 | 9 WEB_SITE="http://gnu-efi.sourceforge.net/" |
pascal@4337 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@4337 | 11 |
pankso@10440 | 12 BUILD_DEPENDS="linux-api-headers" |
pankso@10440 | 13 |
pascal@4337 | 14 # Rules to configure and make the package. |
pascal@4337 | 15 compile_rules() |
pascal@4337 | 16 { |
pankso@10440 | 17 KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2) |
pascal@4337 | 18 cd $src |
pankso@10466 | 19 sed -i "s|^INSTALLROOT.*|INSTALLROOT=$DESTDIR/usr|" 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 } |