summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-05-12 17:43:03 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:43:03 +0200
commit3c60312f58c8631354c973ea1e6d8b225d40b43c (patch)
treea5ade4775c2e357d326a586a23f963d198516ee9 /network
parent8e2e15ee535715cc7f14c001cfd66345f79e8279 (diff)
downloadslackbuilds-3c60312f58c8631354c973ea1e6d8b225d40b43c.tar.gz
network/bitlbee: Updated for version 1.2.3
Diffstat (limited to 'network')
-rw-r--r--network/bitlbee/bitlbee.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/network/bitlbee/bitlbee.SlackBuild b/network/bitlbee/bitlbee.SlackBuild
index 5d6f4508aa..ea9ba08b83 100644
--- a/network/bitlbee/bitlbee.SlackBuild
+++ b/network/bitlbee/bitlbee.SlackBuild
@@ -1,7 +1,6 @@
#!/bin/sh
# SlackBuild Script for bitlbee
-
# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
#
@@ -63,7 +62,6 @@ CXXFLAGS="$SLKCFLAGS" \
--config=/var/lib/bitlbee \
--etcdir=/etc/bitlbee \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
--msn=1 \
--jabber=1 \
--oscar=1 \
@@ -73,7 +71,8 @@ CXXFLAGS="$SLKCFLAGS" \
--events=glib \
--ssl=openssl \
--debug=0 \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux
if [ -e Makefile.settings ]; then
sed -i "s#CPU=i686#CPU=$ARCH#" Makefile.settings
@@ -93,8 +92,7 @@ make install install-etc install-doc DESTDIR=$PKG
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/var/lib/$PRGNAM
-cp -a \
- COPYING doc/AUTHORS doc/CHANGES doc/CREDITS doc/FAQ doc/INSTALL \
+cp -a COPYING doc/AUTHORS doc/CHANGES doc/CREDITS doc/FAQ doc/INSTALL \
doc/README doc/bitlbee.xinetd doc/user-guide/user-guide.html \
doc/user-guide/user-guide.txt doc/user-guide/help.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
@@ -103,8 +101,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Rewrite the documentation to replace /usr/local/ with /usr
# and /etc/init.d/inetd wih /etc/rc.d/rc.inetd
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec \
- sed -i -e 's#/usr/local/#/usr/#' -e \
- 's#/etc/init.d/inetd#/etc/rc.d/rc.inetd#' {} \;
+ sed -i 's#/usr/local/#/usr/#' {} \;
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec \
+ sed -i 's#/etc/init.d/inetd#/etc/rc.d/rc.inetd#' {} \;
mv $PKG/etc/$PRGNAM/$PRGNAM.conf $PKG/etc/$PRGNAM/$PRGNAM.conf.new
mv $PKG/etc/$PRGNAM/motd.txt $PKG/etc/$PRGNAM/motd.txt.new