diff options
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 4c4ae7d90c..951f764412 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 488c94e91a..aef4bda1fe 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="" |