summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorJohn Tyree <johntyree@gmail.com>2010-05-12 23:32:32 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 23:32:32 +0200
commit8f9ea6c1ca022a21092cbdba13a8b237ae7fdd81 (patch)
treeca9bee42ce3c7f078ed8250b832a2f0bab3c8c74 /network
parent363ffec3e92fae8800d098d2edbcebbab71b3226 (diff)
downloadslackbuilds-8f9ea6c1ca022a21092cbdba13a8b237ae7fdd81.tar.gz
network/msn-pecan: Added to 12.2 repository
Diffstat (limited to 'network')
-rw-r--r--network/msn-pecan/README4
-rw-r--r--network/msn-pecan/msn-pecan.SlackBuild55
-rw-r--r--network/msn-pecan/msn-pecan.info8
-rw-r--r--network/msn-pecan/slack-desc19
4 files changed, 86 insertions, 0 deletions
diff --git a/network/msn-pecan/README b/network/msn-pecan/README
new file mode 100644
index 0000000000..7897fc060e
--- /dev/null
+++ b/network/msn-pecan/README
@@ -0,0 +1,4 @@
+msn-pecan is a fork of the MSN plug-in from Pidgin.
+The project aims to have a much faster development process,
+low barrier for contributions, and close contact with the
+user-base.
diff --git a/network/msn-pecan/msn-pecan.SlackBuild b/network/msn-pecan/msn-pecan.SlackBuild
new file mode 100644
index 0000000000..c8e7051082
--- /dev/null
+++ b/network/msn-pecan/msn-pecan.SlackBuild
@@ -0,0 +1,55 @@
+#!/bin/sh
+#
+# Slackware build script for msn-pecan
+#
+# Written by John Tyree <gummyduk@gmail.com>.
+
+PRGNAM=msn-pecan
+VERSION=0.0.17
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+make
+make install DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/network/msn-pecan/msn-pecan.info b/network/msn-pecan/msn-pecan.info
new file mode 100644
index 0000000000..226edec6fd
--- /dev/null
+++ b/network/msn-pecan/msn-pecan.info
@@ -0,0 +1,8 @@
+PRGNAM="msn-pecan"
+VERSION="0.0.17"
+HOMEPAGE="http://code.google.com/p/msn-pecan/"
+DOWNLOAD="http://msn-pecan.googlecode.com/files/msn-pecan-0.0.17.tar.bz2"
+MD5SUM="d0539f835d02c94774d06a7877e575ac"
+MAINTAINER="John Tyree"
+EMAIL="johntyree@gmail.com"
+APPROVED="dsomero"
diff --git a/network/msn-pecan/slack-desc b/network/msn-pecan/slack-desc
new file mode 100644
index 0000000000..aad29c4ca0
--- /dev/null
+++ b/network/msn-pecan/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler----------------------------------------------|
+msn-pecan: msn-pecan (fork of the MSN plug-in from Pidgin)
+msn-pecan:
+msn-pecan:
+msn-pecan: msn-pecan is a fork of the MSN plug-in from Pidgin.
+msn-pecan: The project aims to have a much faster development process,
+msn-pecan: low barrier for contributions, and close contact with the
+msn-pecan: user-base.
+msn-pecan:
+msn-pecan:
+msn-pecan:
+msn-pecan: Homepage: http://code.google.com/p/msn-pecan/