29 lines
701 B
Plaintext
29 lines
701 B
Plaintext
# Description: Fast CPU emulator and virtualizer
|
|
# 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
|
|
|
|
name=qemu
|
|
version=0.12.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 texi2html is installed.
|
|
|
|
if [ -d "$PKG/usr/share/man" ]; then
|
|
mv $PKG/usr/share/man $PKG/usr/man
|
|
fi
|
|
|
|
rm -rf $PKG/usr/share/doc
|
|
}
|