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=$PATH:/devel/crux-arm/pkgutils-cross:/devel/crux-arm/pkgutils-cross/src
+
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-cross/core/ncurses
+$ cd /devel/crux-arm/ports/core-cross/ncurses
$ pkgadd-cross ncurses#X.X-1.pkg.tar.gz
-$ cd /devel/crux-arm/ports-cross/core/bash
-$ pkgmk-cross
+$ cd /devel/crux-arm/ports/core-cross/bash
+$ fakeroot pkgmk-cross
export CROSSTOOLS="/devel/crux-arm/toolchain/crosstools"
export PATH="$CROSSTOOLS/bin:$PATH"
-export LD_LIBRARY_PATH="$CROSSTOOLS/lib:$CROSSTOOLS/usr/lib"
+export LD_LIBRARY_PATH="$CROSSTOOLS/lib:$CROSSTOOLS/usr/lib:/usr/lib/fakeroot"
export CC="$CTARGET-gcc"
export CXX="$CTARGET-g++"