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

e4rat: fix packing
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 14 15:12:31 2018 +0300 (2018-04-14)
parents 15aee388a459
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="gnu-efi"
4 VERSION="3.0.6"
5 CATEGORY="development"
6 SHORT_DESC="Development files for EFI applications."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://gnu-efi.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 BUILD_DEPENDS="linux-api-headers"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)
19 sed -i "s|^INSTALLROOT.*|INSTALLROOT := $DESTDIR|;s|/local||" 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 }