mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
office/SOGo: Update script.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
761f5387b3
commit
4d89dfa704
1 changed files with 5 additions and 11 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=SOGo
|
||||
VERSION=${VERSION:-4.0.2}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -93,14 +93,6 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
make
|
||||
make install DESTDIR=$PKG GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
|
||||
|
||||
# The symbolic links created to libSOGo.so are broken; remove them and create
|
||||
# symbolic links that work
|
||||
( cd $PKG/usr/lib${LIBDIRSUFFIX}/sogo
|
||||
ln -sf ../../lib/GNUstep/Frameworks/SOGo.framework/Versions/Current/sogo/libSOGo.so libSOGo.so
|
||||
ln -sf ../../lib/GNUstep/Frameworks/SOGo.framework/Versions/Current/sogo/libSOGo.so.4 libSOGo.so.4
|
||||
ln -sf ../../lib/GNUstep/Frameworks/SOGo.framework/Versions/Current/sogo/libSOGo.so.4.0.2 libSOGo.so.4.0.2
|
||||
)
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
|
@ -128,11 +120,13 @@ cat Scripts/logrotate > $PKG/etc/logrotate.d/sogo.new
|
|||
# Install configuration files
|
||||
mkdir -p $PKG/etc/{sogo,sysconfig}
|
||||
cat Scripts/sogo.conf > $PKG/etc/sogo/sogo.conf.new
|
||||
sed -e "s,USER=sogo,USER=$PRGUSR,g" Scripts/sogo-default > $PKG/etc/sysconfig/sogo.new
|
||||
sed -e "s,USER=sogo,USER=$PRGUSR,g" \
|
||||
Scripts/sogo-default > $PKG/etc/sysconfig/sogo.new
|
||||
|
||||
# Install example SOGo Apache configuration files
|
||||
mkdir -p $PKG/etc/httpd/extra
|
||||
cat Apache/SOGo.conf > $PKG/etc/httpd/extra/httpd-sogo.conf.new
|
||||
sed -e "s,/lib/GNUstep,/lib${LIBDIRSUFFIX}/GNUstep,g" \
|
||||
Apache/SOGo.conf > $PKG/etc/httpd/extra/httpd-sogo.conf.new
|
||||
|
||||
# Install documentation
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
Loading…
Reference in a new issue