-
Notifications
You must be signed in to change notification settings - Fork 4
/
Portfile
40 lines (28 loc) · 1.75 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- 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
PortSystem 1.0
PortGroup GitHub 1.0
github.setup linux-noah noahstrap 2.0.0
categories emulators
maintainers nomaintainer
platforms darwin
# others do not make sense at this point
supported_archs x86_64
description Bootstrap a Linux ABI implementation for OSX
homepage http://github.com/linux-noah/noahstrap
long_description Noah is a Darwin subsystem for Linux, or \"Bash on Ubuntu on Mac OS X\". Noah is implemented as a hypervisor that traps linux system calls and translates them into Darwin's system calls. Noah also has an interpreter of ELF files so that binary executables of Linux run directly and flawlessly without any modifications. \
\
I.e. it's effectively an OSX Linux Execution Flavour, similar to that of FreeBSD Linuxolator, aka Linux Emulation, aka Linux ABI. \
\
In other words, it's the exact reverse of the Linux Darling project: https://github.com/darlinghq.
license Dual MIT/GPL
checksums rmd160 7eb7168d4211255e3ff6e603b68d36a1746ecda8 \
sha256 616a05c9eb3c12bfcfe12933652a27663c56c46fe91b5d799061742e0973f3fe
configure {}
build {
reinplace "s|gtar|gnutar|g" ${worksrcpath}/noahstrap
}
destroot {
xinstall -m 555 ${worksrcpath}/noahstrap ${destroot}${prefix}/bin/noahstrap
}
depends_lib port:pv \
port:gnutar