mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libbsd: Updated for version 0.3.0.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
0019e9a336
commit
9518f40b6d
2 changed files with 14 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="libbsd"
|
||||
VERSION="0.2.0"
|
||||
VERSION="0.3.0"
|
||||
HOMEPAGE="http://libbsd.freedesktop.org/wiki/"
|
||||
DOWNLOAD="http://libbsd.freedesktop.org/releases/libbsd-0.2.0.tar.gz"
|
||||
MD5SUM="c6d5413e76949b14e4bf13258e63d355"
|
||||
DOWNLOAD="http://libbsd.freedesktop.org/releases/libbsd-0.3.0.tar.gz"
|
||||
MD5SUM="833e58531b4bd84b119b53d834d8e0d8"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Daniel LEVAI"
|
||||
EMAIL="leva@ecentrum.hu"
|
||||
APPROVED="Niels Horn"
|
||||
APPROVED="pprkut"
|
||||
|
|
Loading…
Reference in a new issue