https://github.com/nhas/package_manager
Basic package manage useful for managing cross compiling libraries
https://github.com/nhas/package_manager
cross-compiling fun golang package-manager
Last synced: about 1 month ago
JSON representation
Basic package manage useful for managing cross compiling libraries
- Host: GitHub
- URL: https://github.com/nhas/package_manager
- Owner: NHAS
- Created: 2021-03-26T05:47:56.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-17T09:18:56.000Z (about 5 years ago)
- Last Synced: 2025-05-30T14:18:13.446Z (about 1 year ago)
- Topics: cross-compiling, fun, golang, package-manager
- Language: Go
- Homepage:
- Size: 54.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Package Manager
Basic package manage useful for managing cross compiling libraries, and their specific configuration flags.
Extremely basic, I wanted something that would just pull the latest tagged release from github of any repo that I pointed it to.
And have a basic dependancy system.
The current `example.json` file will build openssh dynamically linked against openssh, and zlib for arm (if you have the toolchain installed, I use crosstools-ng).
As the current embedded system Im working on doesnt have a version of glibc that I could build. I used the `--rpath` and `--dynamic-linker` options in the openssh build in order to essentially just use another directory for glibc.
But that isnt super relevant.
# Using
See the `example.json` for how to specifying 'packages' to pull. This just means the most recent tagged item on a github repo.
After that the program will download, configure and build all libraries.
# Warnings
So, the package dependancy system is fairly untested and hacked together. PRobably wont stop you from making cyclic dependancies. So just be kind to it and dont do that.