{"id":20183425,"url":"https://github.com/duncaen/notlinux","last_synced_at":"2025-06-13T10:33:34.840Z","repository":{"id":71215107,"uuid":"76997039","full_name":"Duncaen/notlinux","owner":"Duncaen","description":null,"archived":false,"fork":false,"pushed_at":"2016-12-28T22:45:29.000Z","size":612,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T06:26:00.287Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Duncaen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-20T22:40:32.000Z","updated_at":"2022-05-12T00:41:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"437ac2c2-b461-4598-86ae-acb2aa2ec70f","html_url":"https://github.com/Duncaen/notlinux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Duncaen/notlinux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duncaen%2Fnotlinux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duncaen%2Fnotlinux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duncaen%2Fnotlinux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duncaen%2Fnotlinux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Duncaen","download_url":"https://codeload.github.com/Duncaen/notlinux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duncaen%2Fnotlinux/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259627413,"owners_count":22886855,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T02:45:52.150Z","updated_at":"2025-06-13T10:33:34.779Z","avatar_url":"https://github.com/Duncaen.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# notlinux\n\nExperimental Linux distribution, using plan9s `mk` to build system components\nand third-party software (`src/ports`).\n\n## Development\n\n### mkcmd\n\n`src/mkcmd` builds one binary, can be included multiple times.\n\n```\nTARG=foo     # binary name\nLIBS=\\       # shared/static libraries, helper files set {C,CPP,LD}FLAGS_$name\n\tlibfoo\\\n\tlibbar\\  # includes helper file $root/$objtype/lib/lib{foo,bar}.mk\n\nOFILES=\\     # object files\n\tfoo.$O\\\n\tbar.$O\\\n\n\u003c$root/src/mkcmd\n```\n\n### mkcommon\n\n`src/mkcommon` generic rules to compile, link, install and clean.\n\n### mkconf\n\nThe default compiler, linker and path configuration is located in `src/mkconf`.\n\n### mkdir\n\n`src/mkdir` generates rules and default targets from the `DIRS` variable.\n\n##### Example\n\n```\nDIRS=\\\n\tfoo\\\n\tbar\\\n\n\u003c$root/src/mkdirs\n```\n\n### mklib\n\n`src/mklib` is used to link static lib libraries.\n\n##### Example\n\n```\nLIB=libfoo  # binary name\nOFILES=\\    # object files\n\tfoo.$O\\\n\tbar.$O\\\n\n\u003c$root/src/mklib\n```\n\n### mkport\n\n`src/mkport` downloads, extracts, configures, builds and installs third-party\nsoftware.\n\n##### Example\n\n```\npkg=foo # upstream name\nvar=1.0 # upstream version\n\n# download and extract archive.\nurl=https://foo.com/bar-$ver.tar.gz\n\n# clone repository and checkout $git_rev.\ngit=git://foo.com/bar\ngit_rev=v$ver\n\n# checkout repository at $cvs_rev, $cvs_mod for specific paths.\ncvs=anoncvs@foo.com:/cvs\ncvs_rev=branchanme_0\ncvs_mod=src/foo/bar\n\n\u003c$root/src/mkport\n```\n\n##### Directory structure\n\n```\n├─ files   # All files are compied into the src/$wrk directory\n├─ mkfile  # The mkfile that include `$root/src/mkport`\n└─ src     # checked out from cvs/git or extracted from downloaded archive.\n   └─ $wrk # `$pkg-$ver` by default, can be overwritten after the include line.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncaen%2Fnotlinux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduncaen%2Fnotlinux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncaen%2Fnotlinux/lists"}