From a7e532ccba42bfed3c88b86f7ef184d894becf72 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Tue, 13 Aug 2013 19:01:38 +0000 Subject: [PATCH] Added README-cross file (contains the old README before merge from upstream) --- README-cross | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 README-cross diff --git a/README-cross b/README-cross new file mode 100644 index 0000000..ed9a21b --- /dev/null +++ b/README-cross @@ -0,0 +1,25 @@ + + README-cross + + pkgutils for crosscompilations + + +Build pkgutils +$ make + +Edit pkgmk-cross.conf with your settings: +$ vim pkgmk-cross.conf + +Add pkgmk-cross to the PATH environment variable: +$ export PATH=/devel/crux-arm/pkgutils-cross:$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/core-cross/ncurses +$ fakeroot pkgmk-cross -d + +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 -d -- 2.26.2