diff options
author | Giovanne Castro <giovannefc@ig.com.br> | 2010-08-24 00:22:30 -0400 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-29 15:32:12 -0500 |
commit | 4996c7cae22065b510848c3054e4e79da0a36c87 (patch) | |
tree | 4e33f717a8c095a1fe17371520aa414810f55779 /network/emesene | |
parent | 4058574d4ab8cd693cd7ef948948bef10bd0ffdd (diff) | |
download | slackbuilds-4996c7cae22065b510848c3054e4e79da0a36c87.tar.gz |
network/emesene: Added (An IM for the WLM(tm) network)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/emesene')
-rw-r--r-- | network/emesene/README | 5 | ||||
-rw-r--r-- | network/emesene/doinst.sh | 10 | ||||
-rw-r--r-- | network/emesene/emesene.SlackBuild | 65 | ||||
-rw-r--r-- | network/emesene/emesene.desktop | 12 | ||||
-rw-r--r-- | network/emesene/emesene.info | 10 | ||||
-rw-r--r-- | network/emesene/slack-desc | 19 |
6 files changed, 121 insertions, 0 deletions
diff --git a/network/emesene/README b/network/emesene/README new file mode 100644 index 0000000000..8361281afb --- /dev/null +++ b/network/emesene/README @@ -0,0 +1,5 @@ +emesene is a platform independent instant messaging client for the +Windows Live Messenger (tm) network. emesene is distributed free +of charge under the GNU General Public License 2 or any later version. + +This requires wxGTK, wxPython and libmimic (for webcam functionality).
\ No newline at end of file diff --git a/network/emesene/doinst.sh b/network/emesene/doinst.sh new file mode 100644 index 0000000000..1f8ff67ded --- /dev/null +++ b/network/emesene/doinst.sh @@ -0,0 +1,10 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/network/emesene/emesene.SlackBuild b/network/emesene/emesene.SlackBuild new file mode 100644 index 0000000000..3dfac70ed4 --- /dev/null +++ b/network/emesene/emesene.SlackBuild @@ -0,0 +1,65 @@ +#!/bin/sh + +# Slackware build script for emesene + +# Written by Giovanne Castro <giovannefc@ig.com.br> + +PRGNAM=emesene +VERSION=${VERSION:-1.6.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +# No flags/configure needed because it is writen in python programing language. +ARCH=noarch + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +# Create link to executable program +mkdir -p $PKG/usr/bin +ln -sf /usr/share/emesene-$VERSION/emesene $PKG/usr/bin + +# Copy libraries program +mkdir -p $PKG/usr/share/emesene-$VERSION +cp -a *.py \ + emesene emesene.pot MANIFEST.in hotmlog.htm \ + abstract conversation_themes docs emesenelib libmimic misc \ + plugins_base po pygif pyisf smilies sound_themes themes \ + $PKG/usr/share/emesene-$VERSION + +# Install icon on correct places +mkdir -p $PKG/usr/share/applications +cat $CWD/emesene.desktop > $PKG/usr/share/applications/emesene.desktop +mkdir -p $PKG/usr/share/pixmaps +cat emesene-logo.png > $PKG/usr/share/pixmaps/emesene-logo.png + +# Copy documentation +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + COPYING GPL LGPL PSF README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/emesene/emesene.desktop b/network/emesene/emesene.desktop new file mode 100644 index 0000000000..9466d7d8d0 --- /dev/null +++ b/network/emesene/emesene.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=emesene +GenericName=An IM for the WLM® network +Comment=An IM for the WLM® network +Comment[pt_BR]=Cliente para Windows® Live Messenger +Exec=emesene +Icon=emesene-logo.png +Terminal=false +Type=Application +StartupNotify=true +Categories=Network;InstantMessaging; diff --git a/network/emesene/emesene.info b/network/emesene/emesene.info new file mode 100644 index 0000000000..0d785d3deb --- /dev/null +++ b/network/emesene/emesene.info @@ -0,0 +1,10 @@ +PRGNAM="emesene" +VERSION="1.6.3" +HOMEPAGE="http://www.emesene.org/" +DOWNLOAD="http://sourceforge.net/projects/emesene/files/emesene-1.6.3/emesene-1.6.3.tar.gz" +MD5SUM="0d57f88a1f10a209f9f4552a78c6b965" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Giovanne Castro" +EMAIL="giovannefc@ig.com.br" +APPROVED="dsomero" diff --git a/network/emesene/slack-desc b/network/emesene/slack-desc new file mode 100644 index 0000000000..d14731f643 --- /dev/null +++ b/network/emesene/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-----------------------------------------------------| +emesene: emesene (An IM for the WLM(tm) network) +emesene: +emesene: emesene is a platform independent instant messaging client for the +emesene: Windows Live Messenger (tm) network. emesene is distributed free +emesene: of charge under the GNU GPL 2 or any later version. +emesene: +emesene: +emesene: Home Page: http://www.emesene.org/ +emesene: +emesene: +emesene: |