I want to show by example how I created the
tilde text editor package for the console.I read very good documentation on the home page tilde.There are several libraries attached to the tilde.See the diagram in the picture:

I find out the sequence of dependencies:
libtranscript
libt3config
libt3window
libt3key
libt3highlight
libt3widget
tilde
Gray indicates the dependencies that you need to look for in the system or set yourself:
libpcre
libsigc++
XCB/Xlib
(n)curces
libunistring
libtranscript
I'm trying
to find them in Nutyx.
I find:
libpcre = pcr (yes, name does not match)
libsigc++ = libsigc++ (yes, name matches)
XCB/Xli = libxcb (yes, name does not match)
(n)curces = ncurses (yes, name does not match)
libunistring = libunistring (yes, name matches)
Now I build a dependency tree.
libtranscript - without dependencies
libt3config - without dependencies
libt3window <= ncurses libunistring libtranscript
libt3key <= libt3config libxcb ncurses
libt3highlight <= pcre libt3config
libt3widget <= pcre libsigc++ libt3key libxcb libunistring libt3window libtranscript
tilde <= libt3config libt3highlight libt3widget libt3window libunistring libtranscript
Further I write as root, for each package Pkgfile already with dependencies.
Tilde for one example:
mkdir -p /mnt/hd/usr/ports/perso/tilde
echo '#!/bin/bash
#Depends on: libt3config libt3highlight libt3widget libt3window libunistring libtranscript
description="tilde (text editor for the console/terminal)"
packager="cdrw"
url="http://os.ghalkes.nl/tilde/index.html"
name=tilde
version=0.3.7
release=1
source=(http://os.ghalkes.nl/dist/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--mandir=/usr/share/man \
--docdir=/usr/share/doc/$name-$version
make
make DESTDIR=$PKG install
}' > /mnt/hd/usr/ports/perso/tilde/Pkgfile
Full list Pkgfile:
libtranscript
libt3config
libt3window
libt3key
libt3highlight
libt3widget
tilde
Then I enter the chroot environment:
sudo -i
install-nutyx -ec
I compile the files:
cards create -r libtranscript
cards create -r libt3config
cards create -r libt3window
cards create -r libt3key
cards create -r libt3highlight
cards create -r libt3widget
cards create -r tilde
I come out of the chroot:
exit
As a simple user in the console window:
cdrw [ ~ ]$ get tilde
[sudo] password for cdrw:
Retrieve info about the 520 packages: 100 %
ADD: (perso) libtranscript 0.3.2-1, 255 files: 100 %
ADD: (perso) libt3config 0.2.10-1, 139 files: 100 %
ADD: (perso) libt3window 0.2.3-1, 129 files: 100 %
ADD: (perso) libt3key 0.2.6-1, 136 files: 100 %
ADD: (perso) libt3widget 0.5.2-1, 743 files: 100 %
ADD: (perso) libt3highlight 0.4.2-1, 164 files: 100 %
ADD: (perso) tilde 0.3.7-1, 14 files: 100 %
cdrw [ ~ ]$ tilde