summaryrefslogtreecommitdiff
path: root/network/bitlbee/bitlbee.SlackBuild
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2013-03-13 05:05:15 -0400
committerdsomero <xgizzmo@slackbuilds.org>2013-03-22 07:16:46 -0400
commit52413b08e63b2bbc3dadc262413bca1436668d7d (patch)
tree658e1a8f5bfb20b2b2d4ce09d3dc3f319bb1204b /network/bitlbee/bitlbee.SlackBuild
parent76644a92eb72769ca5963e3bc4d84e771425b395 (diff)
downloadslackbuilds-52413b08e63b2bbc3dadc262413bca1436668d7d.tar.gz
network/bitlbee: Updated for version 3.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/bitlbee/bitlbee.SlackBuild')
-rw-r--r--network/bitlbee/bitlbee.SlackBuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/network/bitlbee/bitlbee.SlackBuild b/network/bitlbee/bitlbee.SlackBuild
index 8a6fc01bb8..0de036ac5c 100644
--- a/network/bitlbee/bitlbee.SlackBuild
+++ b/network/bitlbee/bitlbee.SlackBuild
@@ -25,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bitlbee
-VERSION=${VERSION:-3.0.5}
+VERSION=${VERSION:-3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,6 +68,13 @@ else
USEOTR=0
fi
+SKYPE=${SKYPE:-no}
+if [ "$SKYPE" = "yes" ]; then
+ USESKYPE=1
+else
+ USESKYPE=0
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -102,7 +109,6 @@ cat << EOF
# groupadd -g $BITLBEE_GROUP bitlbee
EOF
-
exit
fi
@@ -130,6 +136,7 @@ CPU="$ARCH" \
--events=${EVENTS:-glib} \
--ssl=${CRYPT:-gnutls} \
--otr=${USEOTR} \
+ --skype=${USESKYPE} \
--build=$ARCH-slackware-linux
if [ -e Makefile.settings ]; then
@@ -145,12 +152,14 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
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
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/var/lib/$PRGNAM
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{oscar,skype} $PKG/var/lib/$PRGNAM
cp -a \
COPYING doc/AUTHORS doc/CHANGES doc/CREDITS doc/FAQ doc/INSTALL \
doc/README doc/bitlbee.schema doc/bitlbee.xinetd doc/comic_3.0.png \
doc/example_plugin.c doc/user-guide/user-guide.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
+cp -a protocols/oscar/{AUTHORS,COPYING} $PKG/usr/doc/$PRGNAM-$VERSION/oscar
+cp -a protocols/skype/{HACKING,NEWS,README} $PKG/usr/doc/$PRGNAM-$VERSION/skype
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Rewrite the documentation to replace /usr/local/ with /usr