wok-4.x rev 438
Add: qemu kqemu
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 15 09:43:51 2008 +0000 (2008-03-15) |
parents | f3c55a5e565d |
children | 887328e98069 |
files | kqemu/receipt qemu/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/kqemu/receipt Sat Mar 15 09:43:51 2008 +0000 1.3 @@ -0,0 +1,49 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="kqemu" 1.7 +VERSION="1.3.0pre11" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="QEMU Accelerator Module." 1.10 +MAINTAINER="pascal.bellard@ads-lu.com" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://fabrice.bellard.free.fr/qemu" 1.13 +WGET_URL="$WEB_SITE/$TARBALL" 1.14 +BUILD_DEPENDS="gcc3" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + local dir 1.20 + if [ ! -d ../linux/taz ]; then 1.21 + tazwok cook linux 1.22 + fi 1.23 + dir=$(cd ../linux/taz/linux*/fs ; ls -d lib/modules/*)/misc 1.24 + cd $src 1.25 + ./configure --prefix=/usr --kernel-path=$(ls -d ../../linux/linux-*) \ 1.26 + --host-cc=gcc-3 --cc=gcc-3 1.27 + make 1.28 + mkdir -p _pkg/$dir _pkg/dev 1.29 + cp kqemu.ko _pkg/$dir 1.30 + gzip -9 _pkg/$dir/kqemu.ko 1.31 + mknod _pkg/dev/kqemu c 250 0 1.32 + chmod 666 _pkg/dev/kqemu 1.33 +} 1.34 + 1.35 + 1.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 +genpkg_rules() 1.38 +{ 1.39 + cp -a $_pkg/* $fs 1.40 +} 1.41 + 1.42 +# Post install/remove commands for Tazpkg. 1.43 +post_install() 1.44 +{ 1.45 + depmod -a 1.46 +} 1.47 + 1.48 +post_remove() 1.49 +{ 1.50 + depmod -a 1.51 +} 1.52 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/qemu/receipt Sat Mar 15 09:43:51 2008 +0000 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="qemu" 2.7 +VERSION="0.9.1" 2.8 +CATEGORY="misc" 2.9 +SHORT_DESC="General-purpose full virtualizer for x86 hardware." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.12 +WEB_SITE="http://bellard.org/$PACKAGE/" 2.13 +WGET_URL="$WEB_SITE$TARBALL" 2.14 +BUILD_DEPENDS="alsa-lib-dev gcc3 gettext" 2.15 +DEPENDS="alsa-lib" 2.16 + 2.17 +#http://fabrice.bellard.free.fr/qemu/kqemu-1.3.0pre11.tar.gz 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + cd $src 2.23 + #./configure --prefix=/usr --enable-alsa --disable-gfx-check \ 2.24 + 2.25 + ./configure --prefix=/usr --enable-alsa \ 2.26 + --host-cc=gcc-3 --cc=gcc-3 \ 2.27 + --target-list="i386-softmmu,x86_64-softmmu" 2.28 + make 2.29 + make DESTDIR=$PWD/_pkg install 2.30 +} 2.31 + 2.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.33 +genpkg_rules() 2.34 +{ 2.35 + cp -a $_pkg/usr $fs 2.36 +} 2.37 +