# SliTaz package receipt. PACKAGE="gnu-efi" VERSION="3.0k" CATEGORY="development" SHORT_DESC="Development files for EFI applications." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" WEB_SITE="http://gnu-efi.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" BUILD_DEPENDS="linux-api-headers" # Rules to configure and make the package. compile_rules() { KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2) cd $src sed -i "s|^INSTALLROOT.*|INSTALLROOT=$DESTDIR/usr|" Make.defaults make -j1 && make -j1 install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }