source: trunk/dports/cross/arm-none-linux-gnueabi-runtime/Portfile

Last change on this file was 125288, checked in by mf2k@…, 3 years ago

arm-none-linux-gnueabi-runtime: Add maintainer. lint fixes. (#44963)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 125288 2014-09-12 19:32:53Z ryandesign@macports.org $
2
3PortSystem                      1.0
4
5name                    arm-none-linux-gnueabi-runtime
6version                 cs2005q3.2
7
8# Parameters for this port.
9set scratchboxversion   1.0.5
10
11description             headers and precompiled libraries arm-none-linux-gnueabi (Nokia Internet Tablet), obtained from scratchbox.
12long_description        ${description}
13homepage                http://www.scratchbox.org/
14platforms               darwin
15categories              cross devel
16maintainers             gmail.com:stuartwesterman openmaintainer
17master_sites            http://www.scratchbox.org/download/files/sbox-releases/apophis/tarball/
18distfiles                       scratchbox-toolchain-${version}-glibc-arm-${scratchboxversion}-i386.tar.gz
19worksrcdir                      scratchbox
20checksums                       \
21                                        scratchbox-toolchain-${version}-glibc-arm-${scratchboxversion}-i386.tar.gz \
22                                                md5 bbaa58b63cc6c8e5a501126886a9cea5 \
23                                                sha1 4064f834dfa9bd77945222c8259a43a5b3809d95 \
24                                                rmd160 57eb527f2aaf43c850ac9f1e9c7b9a2b890bc3a6
25
26# All cross ports violate the mtree layout.
27destroot.violate_mtree  yes
28
29# Download everything to scratchbox/
30dist_subdir                     scratchbox
31
32post-extract {
33        # Trash gcc stuff that will be on the way.
34        file delete -force ${worksrcpath}/compilers/${version}-glibc-arm/lib/gcc/
35        file delete -force ${worksrcpath}/compilers/${version}-glibc-arm/lib/libiberty.a
36}
37use_configure       no
38build {}
39destroot {
40        # Install files by copying them.
41        xinstall -d ${destroot}${prefix}/arm-none-linux-gnueabi/
42        file copy ${worksrcpath}/compilers/${version}-glibc-arm/lib ${destroot}${prefix}/arm-none-linux-gnueabi/
43        file copy ${worksrcpath}/compilers/${version}-glibc-arm/usr ${destroot}${prefix}/arm-none-linux-gnueabi/
44}
45
Note: See TracBrowser for help on using the repository browser.