{"id":16730452,"url":"https://github.com/oschulz/pkg-inst-tools","last_synced_at":"2025-03-15T18:14:11.913Z","repository":{"id":14775247,"uuid":"17496903","full_name":"oschulz/pkg-inst-tools","owner":"oschulz","description":"Simple Software Package Install System","archived":false,"fork":false,"pushed_at":"2016-01-25T16:24:46.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T22:43:38.481Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oschulz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-06T23:52:05.000Z","updated_at":"2015-09-26T10:58:34.000Z","dependencies_parsed_at":"2022-09-06T21:40:38.175Z","dependency_job_id":null,"html_url":"https://github.com/oschulz/pkg-inst-tools","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschulz%2Fpkg-inst-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschulz%2Fpkg-inst-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschulz%2Fpkg-inst-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschulz%2Fpkg-inst-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oschulz","download_url":"https://codeload.github.com/oschulz/pkg-inst-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243769986,"owners_count":20345217,"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-10-12T23:33:32.566Z","updated_at":"2025-03-15T18:14:11.893Z","avatar_url":"https://github.com/oschulz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple Software Package Install System\n======================================\n\nThis is a simple software package install system based on swmod and GNU make.\n\nPreparations\n------------\n\nPut pkg-inst-tools in your software directory, next to the software packages\nyou want to manage (possibly as a Git submodule).\n\nMake a top-level `GNUmakefile` like this:\n\n    PKG_CONFIG_DIR = packages\n    include pkg-inst-tools/share/pkg-inst-tools/GNUmakefile.pkg-inst-tools\n\nCreate a directory `packages`, containing one or more package configuration\nfiles, for example `packages/some-program.json`:\n\n{\n  \"packages\": [{\n    \"name\": \"some-package\",\n    \"requires\": [\"some-other-package\", \"a-third-package\"],\n    \"options\": \"--with-lib-foo\"\n  }]\n}\n\nThe `required` and `options` fields are optional. The value of `options`\nis passed on to `swmod instpkg`, internally.\n\n\nUsage\n-----\n\nAs pkg-inst-tools is based on swmod, you need to set your swmod install target\nmodule:\n\n    # swmod setinst some-module@some-version\n\nIf the packages you want to install depend on each other, you also need to load\nyour module so that the packages will find each other during installation:\n\n    # swmod load some-module@some-version\n\nNote: If your module directory does not exist yet, `swmod load` will fail. In\nthis case, just use\n\n    # swmod adddeps none\n\nto create the module directory (with an empty `swmod.deps` file). Of course you\nwill often need to add some actual module dependencies anyhow.\n\nNow (in the main directory) simply run\n\n    # make install\n\nor, to use multiple threads, something like\n\n    # make -j8 install\n\nThe Makefiles will ensure that the individual packages are built and\ninstalled in the right order. All builds are run in `$TMPDIR` (defaulting to\n`/tmp`), the package source directories remain unmodified.\n\nYou can also install a single package (with it's dependencies) using\n\n    # make install-some-package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foschulz%2Fpkg-inst-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foschulz%2Fpkg-inst-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foschulz%2Fpkg-inst-tools/lists"}