wok view gnu-efi/receipt @ rev 15146

cocoalib: create Makefile_dependencies (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 12:56:59 2013 +0000 (2013-08-15)
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 }