0
0
Fork
You've already forked ports
0
forked from derivelinux/ports
the ports tree
  • Shell 100%
2025年11月19日 16:41:49 +00:00
core move gnuslop to old/ 2025年11月18日 00:30:08 +00:00
daemon revert e8dbbb4583 2025年11月18日 00:43:12 +01:00
devel flex 2025年11月18日 00:45:58 +00:00
doc libz > zlib 2025年11月14日 22:03:53 +00:00
editors alternative approach to categories 2025年11月09日 22:38:12 +01:00
firmware firmware 2025年10月27日 03:02:39 +00:00
lang libz > zlib 2025年11月14日 22:03:53 +00:00
lib dillo etc 2025年11月19日 16:41:49 +00:00
net dillo etc 2025年11月19日 16:32:22 +00:00
old move gnuslop to old/ 2025年11月18日 00:30:08 +00:00
userspace alternative approach to categories 2025年11月09日 22:38:12 +01:00
utils deps file 2025年11月19日 00:07:04 +01:00
wayland bsdifiying stage 3 2025年11月09日 13:25:50 -06:00
x11 twm static libs 2025年11月18日 00:04:07 +00:00
.gitignore musl: keep shared libs for bootstrap 2025年10月30日 14:16:56 +00:00
README.md Update README.md 2025年11月06日 00:21:57 +01:00

This is the dérive ports tree.

since there isn't extensive information on how to create ports on the website, it will be summarized here.

  1. to get started with porting, you should...

    • learn detour
    • see other ports and their dmake.sh
  2. scripts
    derive "port scripts" (dmake.sh) are (kinda) simple. there are 4 targets that need to be tackled.

    • clean - removes a build directory for a package
    • make - fetches the source of and compiles a package
    • install - installs a package (it must be built!)
    • remove - removes a package (it must be built!)
  3. running scripts
    there are two ways to run a dmake.sh

    1. doing it with detour [reccomended] this is the most simplest way, (the latter is too) you just run detour m(ic) <package>
      such script [m]akes, [i]nstalls and [c]leans a package. this also tracks the package's installed files, automatically resolves dependencies, and allows for easy package removal later.
    2. doing it the traditional way
      you navigate to your package, like cd /ports/core/curl and run
      sh dmake.sh make
      sh dmake.sh install
      sh dmake.sh clean # if you want
      

    this does not resolve dependencies or track packages, you will have to do it yourself.

  4. understanding ports
    this section explains ports itself

    1. core
      the core/ directory has packages that NEED to be in the base system.
      they can range from compiler tools to something like git. nevertheless, most are needed in the base system.
    2. extra
      the extra/ directory has packages that are like "eh, its up to you".
      usually, there is choice in the set of packages, like eiwd and wpa_supplicant being provided even though they do the same thing. one wouldnt need most of these packages for a minimal system.
    3. firmware
      the firmware/ directory has packages that are sometimes needed for certain devices. firmware being mostly blobs for a variety of devices, currently only gpus and linux-firmware.

https://derivelinux.org/ports