summaryrefslogtreecommitdiff
path: root/qemu/Pkgfile
blob: 295099be5f6b46602bb988c56acbc59d1d297d41 (plain)
    1 # Description: Fast CPU emulator and virtualizer
    2 # URL:         http://www.qemu.org
    3 # Maintainer:  Thomas Penteker, tek at serverop dot de
    4 # Packager:    Lucas Hazel, lucas at die dot net dot au
    5 # Depends on:  libsdl
    6 # Optional:    kqemu texi2html
    7 
    8 name=qemu
    9 version=0.12.4
   10 release=1
   11 source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.gz)
   12 
   13 build() {
   14   cd $name-$version
   15   ./configure --prefix=/usr \
   16       --cc="${CC:=gcc}" \
   17       --host-cc="${CC:=gcc}"
   18   make
   19   make DESTDIR=$PKG install
   20 
   21   # Documentaion will only be installed if texi2html is installed.
   22 
   23   if [ -d "$PKG/usr/share/man" ]; then
   24       mv $PKG/usr/share/man $PKG/usr/man
   25   fi
   26   
   27   rm -rf $PKG/usr/share/doc
   28 }

Generated by cgit