CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
prt-get: initial import
authorVictor Martinez <pitillo@ono.com>
Wed, 4 Oct 2017 02:13:11 +0000 (04:13 +0200)
committerVictor Martinez <pitillo@ono.com>
Wed, 4 Oct 2017 02:13:11 +0000 (04:13 +0200)
prt-get/.footprint [new file with mode: 0644]
prt-get/.md5sum [new file with mode: 0644]
prt-get/Pkgfile [new file with mode: 0644]
prt-get/README [new file with mode: 0644]
prt-get/prt-get.aliases [new file with mode: 0644]
prt-get/prt-get.conf [new file with mode: 0644]

diff --git a/prt-get/.footprint b/prt-get/.footprint
new file mode 100644 (file)
index 0000000..7304127
--- /dev/null
@@ -0,0 +1,17 @@
+drwxr-xr-x     root/root       etc/
+-rw-r--r--     root/root       etc/prt-get.conf
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+lrwxrwxrwx     root/root       usr/bin/prt-cache -> prt-get
+-rwxr-xr-x     root/root       usr/bin/prt-get
+drwxr-xr-x     root/root       usr/share/
+drwxr-xr-x     root/root       usr/share/man/
+drwxr-xr-x     root/root       usr/share/man/man5/
+-rw-r--r--     root/root       usr/share/man/man5/prt-get.conf.5.gz
+drwxr-xr-x     root/root       usr/share/man/man8/
+-rw-r--r--     root/root       usr/share/man/man8/prt-cache.8.gz
+-rw-r--r--     root/root       usr/share/man/man8/prt-get.8.gz
+drwxr-xr-x     root/root       var/
+drwxr-xr-x     root/root       var/lib/
+drwxr-xr-x     root/root       var/lib/pkg/
+-rw-r--r--     root/root       var/lib/pkg/prt-get.aliases
diff --git a/prt-get/.md5sum b/prt-get/.md5sum
new file mode 100644 (file)
index 0000000..3265a39
--- /dev/null
@@ -0,0 +1,3 @@
+b41d93f001adaf6926a7e98e903058fe  prt-get-5.19.1.tar.xz
+4f6b710e4d2b18c70cfe5e4a593938b7  prt-get.aliases
+a2bede4fb8efe16f1317fb52e37a2835  prt-get.conf
diff --git a/prt-get/Pkgfile b/prt-get/Pkgfile
new file mode 100644 (file)
index 0000000..22e53c9
--- /dev/null
@@ -0,0 +1,22 @@
+# Description: A utility to simplify ports searching/installing
+# URL: http://jw.smts.ch/files/crux/prt-get_quickstart.html
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on:
+
+name=prt-get
+version=5.19.1
+release=1
+source=(http://crux.nu/files/prt-get-$version.tar.xz
+        prt-get.conf prt-get.aliases)
+
+build() {
+  cd ${name}-${version}
+
+  ./configure --prefix=/usr
+  make
+  make DESTDIR=$PKG install
+
+  install -m 644 $SRC/prt-get.conf $PKG/etc/
+  install -D -m 644 $SRC/prt-get.aliases $PKG/var/lib/pkg/prt-get.aliases
+}
diff --git a/prt-get/README b/prt-get/README
new file mode 100644 (file)
index 0000000..a38f6c4
--- /dev/null
@@ -0,0 +1,9 @@
+NOTE:
+
+Some people have reported problems when using optimizations larger than
+-O2; typical symptoms are "prt-get install X" saying that a package is
+installed while "prt-get update X" saying it's not, or "prt-get listinst"
+printing just nothing.
+
+If you experience strange effects, please try recompiling with 
+   CXXFLAGS="-O2 -pipe"
diff --git a/prt-get/prt-get.aliases b/prt-get/prt-get.aliases
new file mode 100644 (file)
index 0000000..2e7af63
--- /dev/null
@@ -0,0 +1,9 @@
+j2sdk: j2re
+j2sdk: jre
+jdk: jre 
+openmotif: lesstif
+postfix: sendmail
+exim: sendmail
+qmail: sendmail
+masqmail: sendmail
+xorg: x11
diff --git a/prt-get/prt-get.conf b/prt-get/prt-get.conf
new file mode 100644 (file)
index 0000000..6d17899
--- /dev/null
@@ -0,0 +1,52 @@
+###
+### prt-get conf
+###
+
+# note: the order matters: the package found first is used
+prtdir /usr/ports/raspberrypi3-arm
+prtdir /usr/ports/core-arm64
+prtdir /usr/ports/opt-arm64
+prtdir /usr/ports/xorg-arm64
+prtdir /usr/ports/core
+prtdir /usr/ports/opt
+prtdir /usr/ports/xorg
+
+# the following line enables the user maintained contrib collection
+#prtdir /usr/ports/contrib
+
+### use mypackage form local directory
+# prtdir /home/packages/build:mypackage
+
+### log options:
+# writelog enabled         # (enabled|disabled)
+# logmode  overwrite       # (append|overwrite)
+# rmlog_on_success yes     # (no|yes)
+logfile  /var/log/pkgbuild/%n.log
+                           # path, %p=path to port dir, %n=port name
+                           #       %v=version, %r=release
+
+### use alternate cache file (default: /var/lib/pkg/prt-get.cache
+# cachefile /mnt/nfs/cache
+
+### print README information:
+# readme verbose           # (verbose|compact|disabled)
+
+### prefer higher versions in sysup / diff
+# preferhigher no      # (yes|no)
+
+### use regexp search
+# useregex no        # (yes|no)
+
+### run pre- and post-installs scripts; yes is equivalent to the
+### --install-scripts option
+# runscripts no            # (no|yes)
+
+
+### EXPERT SECTION ###
+
+### alternative commands
+# makecommand      pkgmk
+# addcommand       pkgadd
+# removecommand    pkgrm
+# runscriptcommand sh
+