Compile it!
$ make
-Add pkgmk-cross to the PATH environment variable:
-$ export PATH=$PATH:.
-
Edit pkgmk.conf with your settings:
$ vim src/pkgmk.conf
+Add pkgmk-cross to the PATH environment variable:
+$ export PATH=/devel/crux-arm/pkgutils-cross:/devel/crux-arm/pkgutils-cross/src:$PATH
+(note that append the old value for PATH at the end is important)
+
Now you're ready to crosscompile packages:
-$ cd /devel/crux-arm/ports-cross/core/ncurses; pkgmk-cross
+$ cd /devel/crux-arm/ports/core-cross/ncurses
+$ fakeroot pkgmk-cross
+
+And also to install (when you need a dependency installed)
+$ cd /devel/crux-arm/ports/core-cross/ncurses
+$ pkgadd-cross ncurses#X.X-1.pkg.tar.gz
+$ cd /devel/crux-arm/ports/core-cross/bash
+$ fakeroot pkgmk-cross