wok view kqemu/receipt @ rev 450
ADD: lostirc, A simple IRC client
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Mar 17 02:01:23 2008 +0100 (2008-03-17) |
parents | |
children | cd99ec381938 |
line source
1 # SliTaz package receipt.
3 PACKAGE="kqemu"
4 VERSION="1.3.0pre11"
5 CATEGORY="misc"
6 SHORT_DESC="QEMU Accelerator Module."
7 MAINTAINER="pascal.bellard@ads-lu.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://fabrice.bellard.free.fr/qemu"
10 WGET_URL="$WEB_SITE/$TARBALL"
11 BUILD_DEPENDS="gcc3"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 local dir
17 if [ ! -d ../linux/taz ]; then
18 tazwok cook linux
19 fi
20 dir=$(cd ../linux/taz/linux*/fs ; ls -d lib/modules/*)/misc
21 cd $src
22 ./configure --prefix=/usr --kernel-path=$(ls -d ../../linux/linux-*) \
23 --host-cc=gcc-3 --cc=gcc-3
24 make
25 mkdir -p _pkg/$dir _pkg/dev
26 cp kqemu.ko _pkg/$dir
27 gzip -9 _pkg/$dir/kqemu.ko
28 mknod _pkg/dev/kqemu c 250 0
29 chmod 666 _pkg/dev/kqemu
30 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $_pkg/* $fs
37 }
39 # Post install/remove commands for Tazpkg.
40 post_install()
41 {
42 depmod -a
43 }
45 post_remove()
46 {
47 depmod -a
48 }