network/emesene: Added (An IM for the WLM(tm) network)

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Giovanne Castro 2010-08-24 00:22:30 -04:00 committed by Erik Hanson
parent 4058574d4a
commit 4996c7cae2
6 changed files with 121 additions and 0 deletions

5
network/emesene/README Normal file
View file

@ -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).

10
network/emesene/doinst.sh Normal file
View file

@ -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

View file

@ -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}

View file

@ -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;

View file

@ -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"

View file

@ -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: