diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2013-11-20 12:15:39 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-20 11:14:30 -0600 |
commit | 65428e381c8927df433486e0f80817a3e7d15aea (patch) | |
tree | f96c767233db1ae1c1046d6d81d4c7cd7989d163 /network/citadel/citadel.SlackBuild | |
parent | 70f86172aa552c82e897ed9fbf0b9cb6357b9d1f (diff) |
network/citadel: Updated for version 8.22.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/citadel/citadel.SlackBuild')
-rw-r--r-- | network/citadel/citadel.SlackBuild | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/network/citadel/citadel.SlackBuild b/network/citadel/citadel.SlackBuild index 443a098ea1b47..8fc5999bc8e64 100644 --- a/network/citadel/citadel.SlackBuild +++ b/network/citadel/citadel.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for ejabberd +# Slackware build script for citadel # Copyright (c) 2010 Roberto Metere. All rights reserved. # @@ -24,7 +24,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=citadel -VERSION=7.85 +VERSION=${VERSION:-8.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,15 +61,19 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.* +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS -I/usr/local/ctdlsupport/include" \ +CFLAGS="$SLKCFLAGS -I/opt/citadel/ctdlsupport/include" \ CXXFLAGS="$SLKCFLAGS" \ -CPPFLAGS=-I/usr/local/ctdlsupport/include \ -LDFLAGS='-L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib' \ +CPPFLAGS="-I/opt/citadel/ctdlsupport/include" \ +LDFLAGS="-L/opt/citadel/ctdlsupport/lib -Wl,--rpath -Wl,/opt/citadel/ctdlsupport/lib" \ ./configure \ --prefix=/opt/citadel \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -77,21 +81,18 @@ LDFLAGS='-L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib --localstatedir=/var \ --mandir=/usr/man \ --with-db=/opt/citadel/ctdlsupport \ - --with-pam \ - --with-libical \ - --disable-threaded-client \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG # Create some symlinks +mkdir -p $PKG/usr/bin for f in citadel citserver citmail ; do - ln -s /opt/citadel/$f /usr/bin/$f + ln -s /opt/citadel/$f $PKG/usr/bin/$f done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING README.txt config.log \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |