aboutsummaryrefslogtreecommitdiff
path: root/libraries/xerces-c
diff options
context:
space:
mode:
authorRobert Allen <slacker@slaphappygeeks.com>2015-07-13 08:10:01 +0700
committerRobby Workman <rworkman@slackbuilds.org>2015-07-16 10:57:19 -0500
commit6f531eb61b89d47c8611e03f1549a205556ca58c (patch)
treefa7c42a8f42217c0d89ae235be532d06848407b0 /libraries/xerces-c
parent652f66c93c065cd35f2326d7c004419fa6e20060 (diff)
libraries/xerces-c: Updated for version 3.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/xerces-c')
-rw-r--r--libraries/xerces-c/xerces-c.SlackBuild53
-rw-r--r--libraries/xerces-c/xerces-c.info6
2 files changed, 49 insertions, 10 deletions
diff --git a/libraries/xerces-c/xerces-c.SlackBuild b/libraries/xerces-c/xerces-c.SlackBuild
index 50de58dc0089c..4c0ca20507865 100644
--- a/libraries/xerces-c/xerces-c.SlackBuild
+++ b/libraries/xerces-c/xerces-c.SlackBuild
@@ -2,14 +2,54 @@
# Slackware build script for xerces-c
-# Copyright 2012 Robert Allen <slacker@slaphappygeeks.com>
+# 2015 Robert Allen <slacker@slaphappygeeks.com>
# All rights reserved
# Including Creator Endowed Unalienable Rights
#
-# This script is placed into the public domain by the author
+################################################################
+# Statement of Origin and Principle:
+# This script was adapted from SBo templates
+# by Robert Allen, Sun Jul 12 12:05:09 MDT 2015
+#
+# I respectfully request that you leave this statement of origin
+# and the following acknowledgment of right to use, modify and
+# distribute, intact in your own versions and those you may pass
+# to others. I encourage you to use this statement of origin for
+# your own work instead of a copy/paste license or copyright
+# which you neither understand nor could enforce on others.
+################################################################
+# Acknowledgment of right to use, copy, modify and distribute:
+#
+# You already have the right to use, modify and distribute this
+# or any other thought or idea, and need no license or other
+# permission from anyone to do so!
+#
+# Exercise it freely and never concede it to anyone!
+#
+# To be first to think or publish an idea is only to be first
+# to demonstrate that it is a human possibility, and to provide
+# a single step in the path of human progress to help ourselves
+# and all others along our shared journey into the future.
+#
+# To claim ownership of an idea, a shared human possibility, by
+# contrived legal devices is an act of greed and arrogance that
+# attempts to rob every other human being of the same right to
+# think and benefit from that same shared human possibility.
+#
+# Acknowledge and respect the work of others. Enjoy the respect
+# earned by your own good works, and encourage and applaud those
+# who would build on it!
+#
+# Free your mind, and those around you!
+#
+# Abolish the pernicious impediment to human progress known as
+# intellectual property law which obstructs all our future paths
+# only for the immediate gain of a few.
+#
+################################################################
PRGNAM=xerces-c
-VERSION=3.1.1
+VERSION=${VERSION:-3.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +100,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -94,12 +134,11 @@ if [ "$WITHDOCS" = "1" ]; then
cp -rf doc/html/* $PKG/usr/share/$PRGNAM-$VERSION/manual/.
fi
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CREDITS README KEYS LICENSE NOTICE \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CREDITS README KEYS LICENSE NOTICE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/xerces-c/xerces-c.info b/libraries/xerces-c/xerces-c.info
index 07f0d1afd4e84..58a67a862930b 100644
--- a/libraries/xerces-c/xerces-c.info
+++ b/libraries/xerces-c/xerces-c.info
@@ -1,8 +1,8 @@
PRGNAM="xerces-c"
-VERSION="3.1.1"
+VERSION="3.1.2"
HOMEPAGE="http://xerces.apache.org/xerces-c/"
-DOWNLOAD="http://apache.cs.utah.edu/xerces/c/3/sources/xerces-c-3.1.1.tar.gz"
-MD5SUM="6a8ec45d83c8cfb1584c5a5345cb51ae"
+DOWNLOAD="http://apache.cs.utah.edu/xerces/c/3/sources/xerces-c-3.1.2.tar.gz"
+MD5SUM="9eb1048939e88d6a7232c67569b23985"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""