# Edit the variables to your needs
-PATH="/devel/crux-arm/pkgutils-cross:/devel/crux-arm/devtools:$PATH"
-CONFIG="/devel/crux-arm/devtools/prt-get-cross.conf"
-CLFS="/devel/crux-arm/toolchain/clfs"
+TOPDIR="/devel/crux-arm"
+
+PATH="$TOPDIR/pkgutils-cross:/devel/crux-arm/devtools:$PATH"
+CLFS="$TOPDIR/toolchain/clfs"
+CORE="$TOPDIR/ports/core-cross"
export PATH
-prt-get --install-root=$CLFS --config=$CONFIG $@
+prt-get \
+ --install-root=$CLFS \
+ --config-prepend="prtdir $CORE" \
+ --config-set="makecommand pkgmk-cross" \
+ --config-set="addcommand pkgadd-cross" \
+ --config-set="removecommand pkgrm-cross" \
+ $@
# End of file
+++ /dev/null
-###
-### prt-get-cross conf
-###
-
-# note: the order matters: the package found first is used
-prtdir /devel/crux-arm/ports/core-cross
-
-### log options:
-writelog enabled # (enabled|disabled)
-logmode overwrite # (append|overwrite)
-rmlog_on_success yes # (no|yes)
-logfile %p/%n-%v-%r.buildlog
- # path, %p=path to port dir, %n=port name
- # %v=version, %r=release
-
-### print README information:
-readme verbose # (verbose|compact|disabled)
-
-### prefer higher versions in sysup / diff
-preferhigher yes # (yes|no)
-
-### use regexp search
-useregex yes # (yes|no)
-
-### run pre- and post-installs scripts; yes is equivalent to the
-### --install-scripts option
-runscripts yes # (no|yes)
-
-
-### EXPERT SECTION ###
-
-### alternative commands
-makecommand pkgmk-cross
-addcommand pkgadd-cross
-removecommand pkgrm-cross