summaryrefslogtreecommitdiff
path: root/network/bitlbee/bitlbee.SlackBuild
diff options
context:
space:
mode:
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