1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name acpica |
---|
6 | version 20100428 |
---|
7 | revision 1 |
---|
8 | categories devel |
---|
9 | maintainers stepan@coresystems.de |
---|
10 | description ACPI compiler |
---|
11 | long_description \ |
---|
12 | A compiler for ACPI DSDT .asl files. |
---|
13 | homepage http://www.acpica.org/downloads |
---|
14 | platforms darwin |
---|
15 | checksums sha1 599a5168590f66bc6f1f9a299579fd8500614807 |
---|
16 | |
---|
17 | master_sites http://www.acpica.org/download/ |
---|
18 | distfiles acpica-unix-${version}.tar.gz |
---|
19 | worksrcdir acpica-unix-${version} |
---|
20 | checksums acpica-unix-${version}.tar.gz \ |
---|
21 | md5 437ec7297966a507dbbf05ce0fd61cbc \ |
---|
22 | sha1 5ff8ec6b672ff71ae27e5ae700684c643d4dbdd6 \ |
---|
23 | rmd160 59a8eaea119510cfa7dc0b8de40fbc9e848a015c |
---|
24 | |
---|
25 | patchfiles acpica-unix-${version}-sema.diff |
---|
26 | |
---|
27 | configure { |
---|
28 | } |
---|
29 | |
---|
30 | build { |
---|
31 | system "perl -pi -e 's,-lrt,,g' work/acpica-unix-${version}/tools/acpiexec/Makefile" |
---|
32 | system "cd work/acpica-unix-${version}/compiler; export CFLAGS='-DACPI_USE_ALTERNATE_TIMEOUT -include pthread.h'; make LDLIBS=" |
---|
33 | system "cd work/acpica-unix-${version}/tools/acpiexec; export CFLAGS='-DACPI_USE_ALTERNATE_TIMEOUT -include pthread.h'; make clean; make" |
---|
34 | system "cd work/acpica-unix-${version}/tools/acpixtract; make" |
---|
35 | } |
---|
36 | |
---|
37 | destroot { |
---|
38 | xinstall -m 755 work/acpica-unix-${version}/compiler/iasl ${destroot}${prefix}/bin |
---|
39 | xinstall -m 755 work/acpica-unix-${version}/tools/acpixtract/acpixtract ${destroot}${prefix}/bin |
---|
40 | xinstall -m 755 work/acpica-unix-${version}/tools/acpiexec/acpiexec ${destroot}${prefix}/bin |
---|
41 | } |
---|