wok diff gnu-efi/receipt @ rev 7237

Moved duplicate kernel modules to main linux package. Fixed linux-cryptoloop to only have one depends line.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 13 00:06:29 2010 +0000 (2010-11-13)
parents
children df856c87ba2b
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnu-efi/receipt	Sat Nov 13 00:06:29 2010 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gnu-efi"
     1.7 +VERSION="3.0i"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Development files for EFI applications."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
    1.12 +WEB_SITE="http://gnu-efi.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.19 +	if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then
    1.20 +        	tazwok cook linux
    1.21 +	fi
    1.22 +	cd $src
    1.23 +	sed -i "s|^INSTALLROOT.*|INSTALLROOT=$PWD/_pkg/usr|" Make.defaults
    1.24 +	sed -i "s|^LINUX_HEADERS.*|LINUX_HEADERS=$WOK/linux/linux-$KERNEL_VERSION|" apps/Makefile
    1.25 +	make && make install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $_pkg/* $fs
    1.32 +}
    1.33 +