diff options
author | Daniel LEVAI <leva@ecentrum.hu> | 2011-06-25 18:18:24 +0200 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-14 21:56:58 -0300 |
commit | 9518f40b6dc966d919866a5638745255b608f364 (patch) | |
tree | 74a03680eb20705deacc9e240ad961b984537646 /libraries/libbsd/libbsd.SlackBuild | |
parent | 0019e9a3368a7f8ec96567520478e5279ec8ced3 (diff) | |
download | slackbuilds-9518f40b6dc966d919866a5638745255b608f364.tar.gz |
libraries/libbsd: Updated for version 0.3.0.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/libbsd/libbsd.SlackBuild')
-rw-r--r-- | libraries/libbsd/libbsd.SlackBuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libraries/libbsd/libbsd.SlackBuild b/libraries/libbsd/libbsd.SlackBuild index 7e1ef53b95..4c4ae7d90c 100644 --- a/libraries/libbsd/libbsd.SlackBuild +++ b/libraries/libbsd/libbsd.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -e -# Copyright (c) 2010 Daniel LEVAI +# Copyright (c) 2010, 2011 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.2.0 +VERSION=0.3.0 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,14 +74,15 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -#fix Makefile to use correct libdir and mandir -sed -i \ - -e "s|prefix}/lib|prefix}/lib$LIBDIRSUFFIX|g" \ - -e "s|prefix}/share/man|prefix}/man|g" \ - Makefile +CFLAGS="$SLKCFLAGS" \ +make -CFLAGS="$SLKCFLAGS" make -make install DESTDIR=$PKG +make \ + mandir=/usr/man \ + usrlibdir=/usr/lib${LIBDIRSUFFIX} \ + libdir=/usr/lib${LIBDIRSUFFIX} \ + DESTDIR=$PKG \ + install 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 |