CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Added initial version for prt-get-cross and his config file
authorJose V Beneyto <sepen@crux.nu>
Fri, 15 Apr 2011 10:12:58 +0000 (12:12 +0200)
committerJose V Beneyto <sepen@crux.nu>
Fri, 15 Apr 2011 10:12:58 +0000 (12:12 +0200)
prt-get-cross [new file with mode: 0755]
prt-get-cross.conf [new file with mode: 0644]

diff --git a/prt-get-cross b/prt-get-cross
new file mode 100755 (executable)
index 0000000..52c442b
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+# 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"
+
+export PATH
+
+prt-get --install-root=$CLFS_PATH --config=$CONFIG $@
+
+# End of file
+
diff --git a/prt-get-cross.conf b/prt-get-cross.conf
new file mode 100644 (file)
index 0000000..4dbb708
--- /dev/null
@@ -0,0 +1,35 @@
+###
+### 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