From ef2c876f7774a3045dc34c8f1ce44c21d8d1554e Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 2 Oct 2013 12:29:46 +0200 Subject: [PATCH] pkgutils: initial import. Optized for cpu=cortex-a7 and fpu=neon-vfpv4 --- pkgutils/.footprint | 20 ++++++++++++++++++++ pkgutils/.md5sum | 2 ++ pkgutils/Pkgfile | 17 +++++++++++++++++ pkgutils/pkgmk.conf.patch | 13 +++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 pkgutils/.footprint create mode 100644 pkgutils/.md5sum create mode 100644 pkgutils/Pkgfile create mode 100644 pkgutils/pkgmk.conf.patch diff --git a/pkgutils/.footprint b/pkgutils/.footprint new file mode 100644 index 0000000..e49fe87 --- /dev/null +++ b/pkgutils/.footprint @@ -0,0 +1,20 @@ +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/man/ +drwxr-xr-x root/root usr/man/man5/ +-rw-r--r-- root/root usr/man/man5/pkgmk.conf.5.gz +drwxr-xr-x root/root usr/man/man8/ +-rw-r--r-- root/root usr/man/man8/pkgadd.8.gz +-rw-r--r-- root/root usr/man/man8/pkginfo.8.gz +-rw-r--r-- root/root usr/man/man8/pkgmk.8.gz +-rw-r--r-- root/root usr/man/man8/pkgrm.8.gz +-rw-r--r-- root/root usr/man/man8/rejmerge.8.gz diff --git a/pkgutils/.md5sum b/pkgutils/.md5sum new file mode 100644 index 0000000..a3d82b1 --- /dev/null +++ b/pkgutils/.md5sum @@ -0,0 +1,2 @@ +9cf248c0d26a7bc81354364474453618 pkgmk.conf.patch +4fd3dc242578b6849cd55ef9ebbde31c pkgutils-5.35.3.tar.gz diff --git a/pkgutils/Pkgfile b/pkgutils/Pkgfile new file mode 100644 index 0000000..ee78162 --- /dev/null +++ b/pkgutils/Pkgfile @@ -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.35.3 +release=1 +source=(http://crux.nu/files/$name-$version.tar.gz \ + pkgmk.conf.patch) + +build () { + cd $name-$version + patch -p1 -i $SRC/pkgmk.conf.patch + make DESTDIR=$PKG install +} diff --git a/pkgutils/pkgmk.conf.patch b/pkgutils/pkgmk.conf.patch new file mode 100644 index 0000000..06dcfee --- /dev/null +++ b/pkgutils/pkgmk.conf.patch @@ -0,0 +1,13 @@ +--- pkgutils-5.35.3/pkgmk.conf.orig 2013-09-18 11:23:48.856285249 +0200 ++++ pkgutils-5.35.3/pkgmk.conf 2013-09-18 11:27:02.616284373 +0200 +@@ -2,8 +2,9 @@ + # /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="" + + case ${PKGMK_ARCH} in + "64") -- 2.26.2