wok view linux/receipt @ rev 297

Typo in syslinux-extra
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 29 17:23:36 2008 +0100 (2008-02-29)
parents 9a39cdc4c1ef
children cd72bbc8d9c4
line source
1 # SliTaz package receipt.
3 PACKAGE="linux"
4 VERSION="2.6.24.2"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux kernel and modules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.kernel.org/"
10 WGET_URL="http://www.eu.kernel.org/pub/linux/kernel/v2.6/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 # lzma and boot patch from pascal
17 patch -p1 < ../stuff/boot-kernel.u
18 patch -p1 < ../stuff/$PACKAGE-lzma-$VERSION.u
19 patch -p1 < ../stuff/decompress_unlzma.u
20 make mrproper
21 cp ../stuff/$PACKAGE-$VERSION-slitaz.config .config
22 patch -p1 < ../stuff/config-acpi-$VERSION.u
23 patch -p1 < ../stuff/linux-utf8-$VERSION.u
24 make oldconfig
25 make bzImage
26 make modules
27 make INSTALL_MOD_PATH=$PWD/_pkg modules_install
28 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir $fs/boot
35 cp -a $src/arch/x86/boot/bzImage $fs/boot/vmlinuz-$VERSION-slitaz
36 cp -a $_pkg/* $fs
37 # Compress all modules.
38 # Package module-init-tools is compiled with zlib support.
39 #
40 ./stuff/gztazmod.sh $fs/lib/modules/$VERSION-slitaz
41 }
43 # Pre and post install commands for Tazpkg.
44 # GRUB stuf.
45 post_install()
46 {
47 echo "Processing post-install commands..."
48 echo "----"
49 echo "If you have GRUB installed, you can add tree lines to boot SliTaz."
50 echo "Example /boot/grub/menu.lst"
51 echo -e "
52 title SliTaz GNU/Linux (Kernel $VERSION-slitaz)
53 root(hd0,0)
54 kernel /boot/vmlinuz-$VERSION-slitaz root=/dev/hda1 vga=771\n"
55 echo "----"
56 }