2009-03-08 19:43:24 +11:00
|
|
|
# Description: Fast CPU emulator and virtualizer
|
|
|
|
# URL: http://nongnu.org/qemu/
|
|
|
|
# Maintainer: Lucas Hazel, lucas at die dot net dot au
|
|
|
|
# Depends on: libsdl
|
2009-03-14 12:55:43 +11:00
|
|
|
# Optional: kqemu texi2html
|
2009-03-08 19:43:24 +11:00
|
|
|
|
|
|
|
name=qemu
|
2009-06-11 12:01:37 +10:00
|
|
|
version=0.10.5
|
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() {
|
|
|
|
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-06-11 12:01:37 +10:00
|
|
|
# Documentaion will only be installed if texi2html is installed.
|
2009-03-11 10:03:23 +11:00
|
|
|
|
2009-03-14 12:55:43 +11:00
|
|
|
if [ -d "$PKG/usr/share/man" ]; then
|
|
|
|
mv $PKG/usr/share/man $PKG/usr/man
|
|
|
|
fi
|
|
|
|
|
2009-05-15 22:49:55 +10:00
|
|
|
rm -rf $PKG/usr/share/doc
|
2009-03-08 19:43:24 +11:00
|
|
|
}
|