1
0
Fork
You've already forked ports
0
forked from derivelinux/ports
the ports tree
  • Shell 95.5%
  • C 4.4%
  • SystemVerilog 0.1%
2026年02月26日 21:37:00 +01:00
bundles chromium fix 2026年02月04日 21:47:44 +00:00
core situation new 2026年02月23日 13:20:27 +01:00
daemon Update daemon/sndio/info 2026年01月23日 22:18:40 +01:00
devel fill slibtool and om4 info files 2026年02月25日 14:05:37 -08:00
doc Update doc/manpages/info 2026年02月02日 22:26:52 +01:00
editors hack 2026年02月06日 19:32:22 +00:00
firmware ndmake, spc, dtr 2026年01月18日 19:40:30 +00:00
fonts dejavu 2026年02月23日 15:09:12 +03:00
lang Update lang/pforth/info 2026年02月24日 20:34:01 +01:00
lib pin libxkbcommon commit 2026年02月21日 13:14:21 +01:00
libsh Update libsh/libdmake.sh 2026年02月19日 05:50:52 +01:00
net ldflags dropbear 2026年02月09日 23:06:07 +00:00
old move some, freeway fix 2026年02月09日 15:55:37 +00:00
shells fs 2026年01月19日 19:59:21 +00:00
userspace libice and p9p fix 2026年02月06日 19:10:30 +00:00
utils f-schedule 2026年02月23日 16:21:21 +03:00
wl light cleanup 2026年02月19日 23:46:41 +00:00
x11 add description and license info to various x11 related ports 2026年02月25日 13:51:47 -08:00
.gitignore Update .gitignore 2026年02月26日 21:37:00 +01:00
dtr pkgconf with hell -1 gmake 2026年02月09日 15:04:17 +00:00
filegen.sh info 2026年01月01日 12:36:53 -06:00
gitfinder.sh fix broken ports 2025年12月31日 18:08:09 +00:00
info.example filegen 2026年01月01日 10:50:15 -06:00
README.md readme 2026年02月05日 01:26:15 +00:00
spc revert 050a8d22ea 2026年01月22日 22:46:29 +01:00
vmbuild.sh ldflags dropbear 2026年02月09日 23:06:07 +00:00

This is the dérive ports tree.

note: this is outdated: will be updated soon

  1. overview

    • this repo contains a number of posix-compliant shell scripts which fetch, statically build and install software. it is designed for use with the detour ports helper, but can also be used standalone.
  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 statically
    • 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

    • the tree is sorted into categories which describe their function and purpose. this does not effect installation of ports in any way. each port has an info file with some basic information about it
  5. contributing

    • creating a port is pretty easy, depending on the complexity of the target software. i usually just copy a script from another port with a similar build system, and tweak as needed. the only major requirement for a port is that it must always create static binaries or .a files, never dynamically linked binaries or shared objects.
  6. other

    • this project was originally created and designed for dérive linux. however, both the ports and the ports helper detour can be used on most if not all linux distributions, as a secondary package manager. this is useful if you need a static binary or archive for something. if you are creating a new distro, you are also welcome to use this project as part of that in any way you see fit.

https://derivelinux.org/ports