1 | # -*- coding: utf-8; mode: _tcl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- vim:fenc=utf-8:ft=tcl:et:sw=2:ts=2:sts=2 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name android-ndk |
---|
6 | version r16b |
---|
7 | |
---|
8 | categories java cross devel |
---|
9 | maintainers nomaintainer |
---|
10 | license Apache-2 |
---|
11 | platforms darwin |
---|
12 | description Android NDK |
---|
13 | long_description ${description} allows native development \ |
---|
14 | for the Android mobile platform. |
---|
15 | supported_archs noarch |
---|
16 | |
---|
17 | set prog ${name}-${version}-darwin-x86.zip |
---|
18 | |
---|
19 | homepage https://developer.android.com/ |
---|
20 | master_sites https://dl.google.com/android/repository |
---|
21 | |
---|
22 | use_zip yes |
---|
23 | extract.mkdir no |
---|
24 | |
---|
25 | distname ${name}-${version}-darwin-x86_64 |
---|
26 | worksrcdir android-ndk-${version} |
---|
27 | |
---|
28 | checksums rmd160 295b861433bd6e9980cf441d718643c19147c173 \ |
---|
29 | sha256 9654a692ed97713e35154bfcacb0028fdc368128d636326f9644ed83eec5d88b \ |
---|
30 | size 839630771 |
---|
31 | |
---|
32 | use_configure no |
---|
33 | build.cmd true |
---|
34 | |
---|
35 | destroot { |
---|
36 | xinstall -m 755 -d ${destroot}${prefix}/share/java |
---|
37 | |
---|
38 | system " |
---|
39 | cp -a ${worksrcpath} ${destroot}${prefix}/share/java/${distname}; |
---|
40 | chgrp -R _developer ${destroot}${prefix}/share/java/${distname}; |
---|
41 | chmod -R g+w ${destroot}${prefix}/share/java/${distname}; |
---|
42 | " |
---|
43 | } |
---|
44 | |
---|
45 | notes " |
---|
46 | ${distname} has been made group _developer writable |
---|
47 | set ANDROID_NDK to ${prefix}/share/java/android-ndk-${version}-darwin-x86_64?? |
---|
48 | " |
---|
49 | # declare +devel variant |
---|
50 | variant devel description {beta version } { |
---|
51 | version r17-beta1 |
---|
52 | checksums sha1 883d7d1be3007637de7f2f2cb1f1bb66193d89e0 \ |
---|
53 | size 679061122 |
---|
54 | } |
---|