diff options
author | Frank Caraballo <fecaraballo{at}gmail{dot}com> | 2010-05-11 22:26:12 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:26:12 +0200 |
commit | c97c8432a939fc20f5e0e1e6a23a2657307c2c62 (patch) | |
tree | 83fbf1cbb83c91ab99748c7a8b7e6e3a484d43bb /office/osmo/osmo.SlackBuild | |
parent | c35e6fbc3ac90cf92a75de773a558a0112551ad2 (diff) | |
download | slackbuilds-c97c8432a939fc20f5e0e1e6a23a2657307c2c62.tar.gz |
office/osmo: Updated for version 0.2.2
Diffstat (limited to 'office/osmo/osmo.SlackBuild')
-rw-r--r-- | office/osmo/osmo.SlackBuild | 12 |
1 files changed, 11 insertions, 1 deletions
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 |