diff options
author | Daniel LEVAI <leva@ecentrum.hu> | 2012-11-19 14:17:41 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-11-19 16:52:07 -0600 |
commit | 1800d22de5a00d56bd8b090d87fd7b4f301783c0 (patch) | |
tree | 78318ce415fb2aa55849ddb5b226e5d51873968b /libraries/libbsd | |
parent | 1bb42252650427652d1c495a9a44271cfc8b92bc (diff) |
libraries/libbsd: Updated for version 0.4.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libbsd')
-rw-r--r-- | libraries/libbsd/libbsd.SlackBuild | 28 | ||||
-rw-r--r-- | libraries/libbsd/libbsd.info | 6 |
2 files changed, 16 insertions, 18 deletions
diff --git a/libraries/libbsd/libbsd.SlackBuild b/libraries/libbsd/libbsd.SlackBuild index 4c4ae7d90cbd4..951f76441293d 100644 --- a/libraries/libbsd/libbsd.SlackBuild +++ b/libraries/libbsd/libbsd.SlackBuild @@ -1,6 +1,6 @@ -#!/bin/sh -e +#!/bin/sh -# Copyright (c) 2010, 2011 Daniel LEVAI +# Copyright (c) 2010, 2011, 2012 Daniel LEVAI # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -28,7 +28,7 @@ # Build script for libbsd PRGNAM=libbsd -VERSION=0.3.0 +VERSION=${VERSION:-0.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,10 +61,10 @@ fi set -e -rm -Rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -Rf $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . @@ -75,21 +75,19 @@ find . \ -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ -make +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --mandir=/usr/man \ + --disable-static \ + --build=$ARCH-slackware-linux -make \ - mandir=/usr/man \ - usrlibdir=/usr/lib${LIBDIRSUFFIX} \ - libdir=/usr/lib${LIBDIRSUFFIX} \ - DESTDIR=$PKG \ - install +make install DESTDIR=$PKG find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ -cp -a ChangeLog README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION/ +cp -a ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc -type f -exec chmod 0644 {} \; diff --git a/libraries/libbsd/libbsd.info b/libraries/libbsd/libbsd.info index 488c94e91a9b1..aef4bda1fecc0 100644 --- a/libraries/libbsd/libbsd.info +++ b/libraries/libbsd/libbsd.info @@ -1,8 +1,8 @@ PRGNAM="libbsd" -VERSION="0.3.0" +VERSION="0.4.2" HOMEPAGE="http://libbsd.freedesktop.org/wiki/" -DOWNLOAD="http://libbsd.freedesktop.org/releases/libbsd-0.3.0.tar.gz" -MD5SUM="833e58531b4bd84b119b53d834d8e0d8" +DOWNLOAD="http://libbsd.freedesktop.org/releases/libbsd-0.4.2.tar.gz" +MD5SUM="591fc9de4ca22f78cf87a94e648a92f4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |