Menu ▾ ▴

Tree [42d9ba] main /
 History

HTTPS access


File Date Author Commit
 audio 2026-06-30 lfs lfs [4da5d4] upgrade gstreamer, opus, orc.
 compressors 2026-04-07 lfs lfs [4bd43a] upgrade expat & unrar.
 daemon 2026-10-07 lfs lfs [93e50e] upgrade sysvinit 3.18.
 db 2026-10-07 lfs lfs [7e304e] upgrade tzdb 2026e.
 devel 2026-08-17 lfs lfs [387271] add doc and completion glab.
 doc 2026-09-15 lfs lfs [17b936] upgrade lowdown 3.2.1.c1fd1750a.
 editor 2026-08-01 lfs lfs [2edeb4] add emacs 30.2.
 firmware 2026-01-13 lfs lfs [59e3e5] add ath3k firmware 1.0.
 font 2026-09-29 lfs lfs [b4673e] add unifont 18.0.01.
 icon 2026-03-02 lfs lfs [66f838] add elementary icon, neumenu & hevel.
 kernel 2026-09-29 lfs lfs [b0aff8] add linux-libre 7.2.
 lang 2026-08-28 lfs lfs [c57539] add zig 0.16.0 & upgrade river 0.4.2.c576a58da.
 libs 2026-10-07 lfs lfs [0e8994] add fibers 1.4.3, part of shepherd deps.
 lisp 2026-08-10 lfs lfs [c7d596] add cl_unicode 0.1.6.
 lxde 2026-02-27 lfs lfs [262fb0] add patch : fix segmentation fault for obconf -...
 man 2026-04-05 lfs lfs [35da72] adjust documentation and manual.
 media 2026-08-01 lfs lfs [3db69b] upgrade pipewire 1.6.8.
 misc 2026-08-10 lfs lfs [13c251] add stumpwm_contrib cf9bda5dd.
 net 2026-09-29 lfs lfs [e79770] upgrade wget2 2.3.0.
 perl 2026-09-29 lfs lfs [47283a] add html_parser 3.85.
 python 2026-07-03 lfs lfs [dffce5] upgrade cython 3.2.8.
 shell 2026-06-30 lfs lfs [6e880b] upgrade bash.
 sys 2026-10-07 lfs lfs [747ea6] upgrade ntfs-3g 2026.9.28.
 tool 2026-10-07 lfs lfs [42d9ba] add booster 0.13.
 wayland 2026-09-29 lfs lfs [dd67ba] upgrade mojito 0.c5e6a307e.
 x11 2026-08-10 lfs lfs [226161] add stumpwm 24.11.
 xapps 2026-08-01 lfs lfs [53e403] add dwmblocks commit 8cedd220.
 xfce4 2026-06-30 lfs lfs [49bd34] upgrade libpsl, tmux, xfce4_dev_tools.
 .gitignore 2026-09-19 lfs lfs [5ce68c] add vim swap file to .gitignore.
 LICENSE 2025-11-29 lidgnulinux lidgnulinux [f37d65] Initial commit
 Makefile.empty 2026-08-03 lfs lfs [05e94c] Edit Makefile template and remove darcs mirrors.
 README.md 2026-09-14 lfs lfs [d0857a] notify about number of jobs for make & bmake bu...
 WRITE.md 2026-04-16 lfs lfs [109664] Add zig type build support.
 _cgitrc 2026-08-24 lfs lfs [d6e55f] rename cgitrc, possibly unused.
 lfs.port.mk 2026-08-23 lfs lfs [3da48d] unset make default amount ofjob.
 mk 2026-06-30 lfs lfs [f3075c] add blank line for info target.
 strip.mk 2026-04-16 lfs lfs [109664] Add zig type build support.

Read Me

lfs.ports

What's this ?

Ports package build collection for LFS / linux distro in general. It's a collection of recipe to build package. Using Makefile and bsd.port.mk-like (I call it as lfs.port.mk). If you're familiar with ports from openbsd & freebsd, you would easily recognize it. There are 8 build types :

  1. make.
  2. cmake.
  3. meson.
  4. bmake.
  5. muon.
  6. cargo.
  7. zig.
  8. custom.

How to use it ?

You could easily use it, but before that, you should have these requirements :

  • wget, to download source code. You could change it with your tool downloader.
  • build tools, like compiler (I use gcc mainly), make, meson, cmake, bmake, muon and zig.
  • tar, to create tar.gz package archive.
  • graft, to do grafting.
  • text editor.
  • patch, to do patching (if needed)

After you have those requirements, let's build our package !

  1. Copy lfs.port.mk & strip.mk to /usr/share/mk directory.
  2. Pick a template package, for example iceauth.
  3. Run these commands :

    $ make download $ make extract $ make prepare $ make build # you may need to pass -j <number of jobs> to speed up the build. For bmake build type, you need to use -j as MAKEFLAGS. $ make package

    Explanation :

    • make download, download source code.
    • make extract, extract source code.
    • make prepare, prepare build, like patching (if needed), edit the source code, etc.
    • make build, build package.
    • make package, create tar.gz package.
  4. Once the package's created, we can install it using mk package manager.

    $ sudo /path/to/mk a P=1 PKG=iceauth-1.0.10-0@xapps.tar.gz

note : For more info about mk, you could read its documentation here.

Main repository & mirrors

Main repository : Github.

Mirrors :