summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/kasumi/README5
-rw-r--r--misc/kasumi/kasumi.SlackBuild67
-rw-r--r--misc/kasumi/kasumi.info8
-rw-r--r--misc/kasumi/slack-desc19
4 files changed, 99 insertions, 0 deletions
diff --git a/misc/kasumi/README b/misc/kasumi/README
new file mode 100644
index 0000000000..b8945fa474
--- /dev/null
+++ b/misc/kasumi/README
@@ -0,0 +1,5 @@
+Simple dictionary utility for Anthy
+
+Kasumi is personal dictionary management tool for Anthy. Anthy is a Japanese
+input method to convert Hiragana text to Kana Kanji mixed text.
+Featuring add words, edit words, delete words, search words and so on.
diff --git a/misc/kasumi/kasumi.SlackBuild b/misc/kasumi/kasumi.SlackBuild
new file mode 100644
index 0000000000..a52bd70eba
--- /dev/null
+++ b/misc/kasumi/kasumi.SlackBuild
@@ -0,0 +1,67 @@
+#!/bin/sh
+
+#Slackbuild script for Kasumi
+#Written by Francisco Dalla Rosa Soares (dallarosa at gmail dot com) revision date 2009/06/12
+
+PRGNAM=kasumi
+VERSION=2.4
+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"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+rm -rf $TMP/$PRGNAM-$VERSION
+cd $TMP
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+
+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/misc/kasumi/kasumi.info b/misc/kasumi/kasumi.info
new file mode 100644
index 0000000000..0b78d6a44f
--- /dev/null
+++ b/misc/kasumi/kasumi.info
@@ -0,0 +1,8 @@
+PRGNAM="kasumi"
+VERSION="2.4"
+HOMEPAGE="http://kasumi.sourceforge.jp/"
+DOWNLOAD="http://prdownloads.sourceforge.jp/kasumi/37311/kasumi-2.4.tar.gz"
+MD5SUM="683f43fbf8ba3c92964a538c0d21afc7"
+MAINTAINER="Francisco Dalla Rosa Soares"
+EMAIL="dallarosa@gmail.com"
+APPROVED="rworkman"
diff --git a/misc/kasumi/slack-desc b/misc/kasumi/slack-desc
new file mode 100644
index 0000000000..2663a9e64e
--- /dev/null
+++ b/misc/kasumi/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------------------------------------------------------|
+kasumi: Kasumi (personal dictionary management tool for Anthy)
+kasumi:
+kasumi: Kasumi is personal dictionary management tool for Anthy. Anthy is a
+kasumi: Japanese input method to convert Hiragana text to Kana Kanji mixed
+kasumi: text.
+kasumi:
+kasumi: http://kasumi.sourceforge.jp/
+kasumi:
+kasumi:
+kasumi:
+kasumi: