wok-6.x view ipxe/receipt @ rev 19114
Add shiki-colors, shiki-colors-murrine. Specify HOST_ARCH="any" on the packages containing themes only.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 07 16:09:04 2016 +0300 (2016-05-07) |
parents | c0ad10db4140 |
children | b87cb7a0f890 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ipxe"
4 VERSION="1.0.0-20160119"
5 GIT_TAG="3c26ffafceef176286c108fe2b01ccebd83062a0"
6 CATEGORY="system-tools"
7 SHORT_DESC="Open source network boot firmware."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://ipxe.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://git.ipxe.org/ipxe.git/snapshot/$GIT_TAG.tar.bz2"
14 DEPENDS=""
15 BUILD_DEPENDS="perl wget liblzma-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src
21 sed -i 's/-llzma/& -lpthread/' Makefile.*
22 sed -i 's|//\(#define.*CONSOLE_FRAMEBUFFER\)|\1|' config/console.h
23 sed -i 's|//\(#define.*CONSOLE_SERIAL\)|\1|' config/console.h
24 sed -i -e 's|//\(#define.*IMAGE_PNG\)|\1|' \
25 -e 's|//\(#define.*CONSOLE_CMD\)|\1|' \
26 -e 's|//\(#define.*REBOOT_CMD\)|\1|' config/general.h
27 cp $stuff/lkrnprefix.S arch/i386/prefix
28 make bin/undionly.kpxe bin/ipxe.lkrn EMBED=$stuff/ipxe.cmd
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir $fs/boot
35 cp -a $src/src/bin/ipxe.lkrn $fs/boot/ipxe
36 OFS=$((0x156))
37 unix2dos <<EOT | dd bs=1 of=$fs/boot/ipxe conv=notrunc \
38 seek=$OFS count=$((0x1F0-$OFS))
39 $SHORT_DESC
40 EOT
41 }