aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2013-11-18 07:42:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-18 07:42:17 +0700
commitaf0d46f56525b895c7809f423ff79f2e19817770 (patch)
tree067a76256cca090bada73bb3456ffc048c03b1ae /libraries
parentfaa496942312baccf196007510ad4627cc44a1fe (diff)
libraries/libmicrohttpd: Updated for version 0.9.31
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libmicrohttpd/libmicrohttpd.SlackBuild25
-rw-r--r--libraries/libmicrohttpd/libmicrohttpd.info6
2 files changed, 12 insertions, 19 deletions
diff --git a/libraries/libmicrohttpd/libmicrohttpd.SlackBuild b/libraries/libmicrohttpd/libmicrohttpd.SlackBuild
index 77c932249fff..da4af5ea7ff3 100644
--- a/libraries/libmicrohttpd/libmicrohttpd.SlackBuild
+++ b/libraries/libmicrohttpd/libmicrohttpd.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libmicrohttpd
-VERSION=${VERSION:-0.9.25}
+VERSION=${VERSION:-0.9.31}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -68,11 +66,11 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -91,15 +89,10 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
-( cd $PKG/usr/info
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+rm -f $PKG/usr/info/dir
+gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/libraries/libmicrohttpd/libmicrohttpd.info b/libraries/libmicrohttpd/libmicrohttpd.info
index e78fb25c197e..0ba2e16a95a4 100644
--- a/libraries/libmicrohttpd/libmicrohttpd.info
+++ b/libraries/libmicrohttpd/libmicrohttpd.info
@@ -1,8 +1,8 @@
PRGNAM="libmicrohttpd"
-VERSION="0.9.25"
+VERSION="0.9.31"
HOMEPAGE="http://www.gnu.org/software/libmicrohttpd/"
-DOWNLOAD="http://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.25.tar.gz"
-MD5SUM="4f3b8ccd50e7133283f2aec5cc21620f"
+DOWNLOAD="http://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.31.tar.gz"
+MD5SUM="40453603aef1a8c0bb4957ec65ab888d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""