30 lines
666 B
Plaintext
30 lines
666 B
Plaintext
# Description: Fast CPU emulator and virtualizer
|
|
# URL: http://nongnu.org/qemu/
|
|
# Maintainer: Lucas Hazel, lucas at die dot net dot au
|
|
# Depends on: libsdl
|
|
# Optional: kqemu texi2html
|
|
|
|
name=qemu
|
|
version=0.10.2
|
|
release=1
|
|
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
|
|
|
|
# Documentaion will only be installed if texinfo is found.
|
|
|
|
if [ -d "$PKG/usr/share/man" ]; then
|
|
mv $PKG/usr/share/man $PKG/usr/man
|
|
fi
|
|
|
|
if [ -d "$PKG/usr/share/doc" ]; then
|
|
rm -rf $PKG/usr/share/doc
|
|
fi
|
|
}
|