2009-03-08 19:43:24 +11:00
|
|
|
# Description: Fast CPU emulator and virtualizer
|
2009-09-19 01:05:25 +02:00
|
|
|
# URL: http://www.qemu.org
|
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
|
|
# Packager: Lucas Hazel, lucas at die dot net dot au
|
|
|
|
# Depends on: libsdl
|
|
|
|
# Optional: kqemu texi2html
|
2009-03-08 19:43:24 +11:00
|
|
|
|
|
|
|
name=qemu
|
2009-12-07 19:36:38 +01:00
|
|
|
version=0.11.1
|
2009-03-31 19:57:54 +11:00
|
|
|
release=1
|
2009-03-08 19:43:24 +11:00
|
|
|
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2009-09-19 01:05:25 +02:00
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--cc="${CC:=gcc}" \
|
|
|
|
--host-cc="${CC:=gcc}"
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2009-03-11 10:03:23 +11:00
|
|
|
|
2009-09-19 01:05:25 +02:00
|
|
|
# Documentaion will only be installed if texi2html is installed.
|
2009-03-11 10:03:23 +11:00
|
|
|
|
2009-09-19 01:05:25 +02:00
|
|
|
if [ -d "$PKG/usr/share/man" ]; then
|
|
|
|
mv $PKG/usr/share/man $PKG/usr/man
|
|
|
|
fi
|
|
|
|
|
|
|
|
rm -rf $PKG/usr/share/doc
|
2009-03-08 19:43:24 +11:00
|
|
|
}
|