https://github.com/dslm4515/BMLFS
Beyond Musl Linux From Scratch - Build Recipes for MLFS [Musl Linux From Source]
https://github.com/dslm4515/BMLFS
Last synced: 3 months ago
JSON representation
Beyond Musl Linux From Scratch - Build Recipes for MLFS [Musl Linux From Source]
- Host: GitHub
- URL: https://github.com/dslm4515/BMLFS
- Owner: dslm4515
- Created: 2018-12-25T22:38:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-18T20:37:41.000Z (9 months ago)
- Last Synced: 2024-08-18T21:44:45.730Z (9 months ago)
- Language: Shell
- Size: 104 MB
- Stars: 16
- Watchers: 1
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - Beyond Musl Linux From Scratch (BMLFS)
README
# BMLFS
Beyond Musl Linux From Scratch - Build Recipes for MLFS [Musl Linux From Source]This is based on the works of Beyond Linux Fom Scratch (https://www.linuxfromscratch.org/blfs), Void Linux (https://voidlinux.org), and Alpine Linux (https://alpinelinux.org).
These build recipes allow to build packages for a MLFS, a Musl [based] Linux from Scratch system. Such system uses Musl as libc, LibreSSL for SSL support, and S6+S6-rc for init system.
Currently, Qt5 is the default Qt toolkit. Packages that can be built against Qt6 & Qt5 will have the Qt6 version stored in `/opt/qt6`. Eventually, Qt6 will be the default with Qt5 versions of packages in `/opt/qt5`.
Layout
- build-scripts -- Scripts to automatically build and install packages with pkgtools.
- files -- Files that may be optional or required for a package build
- patches -- Patches that fix known issues or to allow package to build/run with Musl as libc
- sources -- Packages sources that may be difficult to find or pre-patched
How to Use the Build Scripts
Build scripts assume Slackware's pkgtools is installed as package manager and assumes the following directory tree:
```
+ -- [sources]
|
+ -- [files]
+ -- [patches]
+ -- [scripts]
+ -- (source packages)
```
- Unpack package in `source` and `cd` into the unpacked source:
`tar xf foo-4.3.tar.xz && cd foo-4.3` - Run build script: `sh ../scripts/foo-4.3.build`
Each package build assumes the following are set:
- export BUILD = /BUILD # Directory to temporarily install
- export PKGS = /PKGS # Directory to store built packages
- export PSUFFIX = "$(uname -m)-blfs.txz" # Package extension. Inludes CPU arch and package compression
- export NOPSUFFIX = "noarch-blfs.txz" # Package extension. Supported across all CPU arches and package compression
Changelog since 2.00
- Changed package manager to Slackware's pkgtools instead of porg
- Added package dependancy list for each build