summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-11 22:26:12 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:26:12 +0200
commitc97c8432a939fc20f5e0e1e6a23a2657307c2c62 (patch)
tree83fbf1cbb83c91ab99748c7a8b7e6e3a484d43bb
parentc35e6fbc3ac90cf92a75de773a558a0112551ad2 (diff)
downloadslackbuilds-c97c8432a939fc20f5e0e1e6a23a2657307c2c62.tar.gz
office/osmo: Updated for version 0.2.2
-rw-r--r--office/osmo/README2
-rw-r--r--office/osmo/doinst.sh4
-rw-r--r--office/osmo/osmo.SlackBuild12
-rw-r--r--office/osmo/osmo.info8
4 files changed, 19 insertions, 7 deletions
diff --git a/office/osmo/README b/office/osmo/README
index 5bc8b0230e..7ae4565e38 100644
--- a/office/osmo/README
+++ b/office/osmo/README
@@ -2,3 +2,5 @@ Osmo is a handy personal organizer which includes calendar,
tasks manager and address book modules. It was designed to
be a small, easy to use and good looking PIM tool to help
to manage personal information.
+
+libnotify (also available at SBo) is required to build Osmo.
diff --git a/office/osmo/doinst.sh b/office/osmo/doinst.sh
index 5dc6bb58c0..140e332222 100644
--- a/office/osmo/doinst.sh
+++ b/office/osmo/doinst.sh
@@ -1,3 +1,3 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
fi
diff --git a/office/osmo/osmo.SlackBuild b/office/osmo/osmo.SlackBuild
index 8426dc9df3..4c69ebc146 100644
--- a/office/osmo/osmo.SlackBuild
+++ b/office/osmo/osmo.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=osmo
-VERSION=0.2.0
+VERSION=0.2.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,6 +39,8 @@ 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
rm -rf $PKG
@@ -60,14 +62,22 @@ CFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--program-prefix="" \
--program-suffix="" \
--enable-debug=no \
+ --without-libical \
+ --without-gringotts \
|| exit 1
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
+( 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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/office/osmo/osmo.info b/office/osmo/osmo.info
index ecf5758b61..a5d10d49ee 100644
--- a/office/osmo/osmo.info
+++ b/office/osmo/osmo.info
@@ -1,8 +1,8 @@
PRGNAM="osmo"
-VERSION="0.2.0"
+VERSION="0.2.2"
HOMEPAGE="http://clay.ll.pl/osmo"
-DOWNLOAD="http://downloads.sourceforge.net/osmo-pim/osmo-0.2.0.tar.gz"
-MD5SUM="6960aae8b95eb09bf8d0bf4f8656a080"
+DOWNLOAD="http://downloads.sourceforge.net/osmo-pim/osmo-0.2.2.tar.gz"
+MD5SUM="d790c2040fda541765a7db2a6827673c"
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
-APPROVED="David Somero"
+APPROVED="David Somero" \ No newline at end of file