CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Add pkgutils port, with optimizations for rpi2
authorJohn Vogel <jvogel4@stny.rr.com>
Sun, 15 May 2016 03:56:15 +0000 (23:56 -0400)
committerJohn Vogel <jvogel4@stny.rr.com>
Sun, 15 May 2016 03:56:15 +0000 (23:56 -0400)
pkgutils/.footprint [new file with mode: 0644]
pkgutils/.md5sum [new file with mode: 0644]
pkgutils/Pkgfile [new file with mode: 0644]
pkgutils/pkgmk.conf.patch [new file with mode: 0644]

diff --git a/pkgutils/.footprint b/pkgutils/.footprint
new file mode 100644 (file)
index 0000000..675aac2
--- /dev/null
@@ -0,0 +1,21 @@
+drwxr-xr-x     root/root       etc/
+-rw-r--r--     root/root       etc/pkgadd.conf
+-rw-r--r--     root/root       etc/pkgmk.conf
+-rw-r--r--     root/root       etc/rejmerge.conf
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/pkgadd
+lrwxrwxrwx     root/root       usr/bin/pkginfo -> pkgadd
+-rwxr-xr-x     root/root       usr/bin/pkgmk
+lrwxrwxrwx     root/root       usr/bin/pkgrm -> pkgadd
+-rwxr-xr-x     root/root       usr/bin/rejmerge
+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/pkgmk.conf.5.gz
+drwxr-xr-x     root/root       usr/share/man/man8/
+-rw-r--r--     root/root       usr/share/man/man8/pkgadd.8.gz
+-rw-r--r--     root/root       usr/share/man/man8/pkginfo.8.gz
+-rw-r--r--     root/root       usr/share/man/man8/pkgmk.8.gz
+-rw-r--r--     root/root       usr/share/man/man8/pkgrm.8.gz
+-rw-r--r--     root/root       usr/share/man/man8/rejmerge.8.gz
diff --git a/pkgutils/.md5sum b/pkgutils/.md5sum
new file mode 100644 (file)
index 0000000..cfa4658
--- /dev/null
@@ -0,0 +1,2 @@
+4243e7ea40bd42f09db57c73a60fc49e  pkgmk.conf.patch
+d6c14b02ae041bac4544c9cec557ad76  pkgutils-5.36.tar.xz
diff --git a/pkgutils/Pkgfile b/pkgutils/Pkgfile
new file mode 100644 (file)
index 0000000..f3dd097
--- /dev/null
@@ -0,0 +1,17 @@
+# Description: A set of utilities to manage software packages 
+# URL: http://crux.nu/gitweb/?p=tools/pkgutils.git
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: libarchive
+
+name=pkgutils
+version=5.36
+release=2
+source=(http://crux.nu/files/$name-$version.tar.xz \
+        pkgmk.conf.patch)
+
+build () {
+  cd $name-$version
+  patch -p0 -i $SRC/pkgmk.conf.patch
+  make DESTDIR=$PKG install MANDIR=/usr/share/man
+}
diff --git a/pkgutils/pkgmk.conf.patch b/pkgutils/pkgmk.conf.patch
new file mode 100644 (file)
index 0000000..47e09b1
--- /dev/null
@@ -0,0 +1,11 @@
+--- pkgmk.conf.orig    2016-05-14 22:24:36.129979976 -0400
++++ pkgmk.conf 2016-05-14 22:26:23.052990347 -0400
+@@ -2,7 +2,7 @@
+ # /etc/pkgmk.conf: pkgmk(8) configuration
+ #
+-export CFLAGS="-O2 -march=x86-64 -pipe"
++export CFLAGS="-O2 -pipe -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4"
+ export CXXFLAGS="${CFLAGS}"
+ # export MAKEFLAGS="-j2"