wok view gnu-efi/receipt @ rev 6967

Added pygobject-dev to gst-python-dev depends. Fix pkg-config --cflags gst-python-0.10 in clean chroot.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Oct 26 14:19:18 2010 +0000 (2010-10-26)
parents
children df856c87ba2b
line source
1 # SliTaz package receipt.
3 PACKAGE="gnu-efi"
4 VERSION="3.0i"
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 # Rules to configure and make the package.
13 compile_rules()
14 {
15 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
16 if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then
17 tazwok cook linux
18 fi
19 cd $src
20 sed -i "s|^INSTALLROOT.*|INSTALLROOT=$PWD/_pkg/usr|" Make.defaults
21 sed -i "s|^LINUX_HEADERS.*|LINUX_HEADERS=$WOK/linux/linux-$KERNEL_VERSION|" apps/Makefile
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $_pkg/* $fs
29 }