Ports package build collection for LFS / linux distro in general. It is a collection of recipe to build package. Using Makefile and bsd.port.mk-like (I call it as lfs.port.mk). If you are familiar with ports from openbsd & freebsd, you would easily recognize it. There are 8 build types, make, cmake, meson, bmake, muon, cargo, zig and custom.
You could easily use it, but before that, you should have these requirements :
After you have those requirements, let is build our package !
Copy lfs.port.mk & strip.mk to /usr/share/mk directory !
Pick a template package, for example iceauth.
Run these commands :
$ make download
$ make extract
$ make prepare
$ make build
$ make package
Explanation :
Once the package is created, we can install it using mk package manager.
$ sudo /path/to/mk a P=1 PKG=iceauth-1.0.10-0@xapps.tar.gznote : For more info about mk, you could read its
documentation here.