mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/xerces-c: Updated for version 3.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
652f66c93c
commit
6f531eb61b
2 changed files with 49 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue