source: trunk/dports/emulators/qemu/Portfile @ 76454

Last change on this file since 76454 was 76454, checked in by raimue@…, 9 years ago

emulators/qemu:
Add license, update description

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 76454 2011-02-23 23:25:49Z raimue@macports.org $
2
3PortSystem 1.0
4
5name                    qemu
6version                 0.13.0
7categories              emulators
8license                 GPL-2+
9platforms               darwin
10maintainers             nomaintainer
11
12description             Emulator for various architectures
13long_description        QEMU is a generic and open source machine emulator. \
14                        It can run OSes and programs made for one machine on a \
15                        different machine. By using dynamic translation, it \
16                        achieves very good performance.
17
18homepage                http://wiki.qemu.org/
19master_sites            nongnu
20
21checksums               md5     397a0d665da8ba9d3b9583629f3d6421 \
22                        sha1    250bba1fdb505a787c48331b6b02f54282edfc76 \
23                        rmd160  4a6faaf38d5616fb7bedc1a6408de1dbb3ec360c
24
25patchfiles              patch-configure.diff \
26                        patch-ppc-tcg-target.diff
27
28depends_build           port:texinfo
29depends_lib             port:curl \
30                        port:cyrus-sasl2 \
31                        port:gnutls \
32                        port:libidn \
33                        port:libtasn1 \
34                        port:ncurses \
35                        port:openssl \
36                        port:zlib \
37                        port:libpng \
38                        port:jpeg \
39                        port:ossp-uuid
40
41configure.args          --cc=${configure.cc} \
42                        --host-cc=${configure.cc}
43if {$build_arch != ""} {
44    configure.args-append --cpu=${build_arch}
45}
46
47set target_list i386-softmmu,x86_64-softmmu,ppc-softmmu,ppc64-softmmu
48pre-configure {
49    configure.args-append --target-list=${target_list}
50}
51
52foreach t {arm cris m68k mips mipsel mips64 mips64el ppcemb sh4 sh4eb sparc} {
53    variant target_${t} description "add ${t} target support" "append target_list \",${t}-softmmu\""
54}
55
56# Default universal variant does not work
57universal_variant       no
58
59livecheck.type regex
60livecheck.url http://download.savannah.gnu.org/releases/${name}/
61livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)\\.tar
Note: See TracBrowser for help on using the repository browser.