diff options
author | Andrzej Telszewski <atelszewski@gmail.com> | 2010-05-13 00:39:10 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:39:10 +0200 |
commit | e4b3fcf54ae51af387053d2ef21e5bc70b84eabc (patch) | |
tree | 4c8126eb2baf4514af52f73e40a3ef508a629331 /office/gnocky | |
parent | bbdf4c34d095e0b43bd58258014c61d0a46aec69 (diff) | |
download | slackbuilds-e4b3fcf54ae51af387053d2ef21e5bc70b84eabc.tar.gz |
office/gnocky: Updated for version 0.0.7
Diffstat (limited to 'office/gnocky')
-rw-r--r-- | office/gnocky/README | 2 | ||||
-rw-r--r-- | office/gnocky/doinst.sh | 4 | ||||
-rw-r--r-- | office/gnocky/gnocky.SlackBuild | 20 | ||||
-rw-r--r-- | office/gnocky/gnocky.info | 8 |
4 files changed, 24 insertions, 10 deletions
diff --git a/office/gnocky/README b/office/gnocky/README index 64d872c976..51ca8af65a 100644 --- a/office/gnocky/README +++ b/office/gnocky/README @@ -2,4 +2,4 @@ Gnocky is an application that will allow you to use many features of your mobile phone (setting logos, sending SMS, addressbook management). It uses user-space mobile driver provided by gnokii project. -This requires gnokii, which is also available from SlackBuilds.org. +This requires gnokii. diff --git a/office/gnocky/doinst.sh b/office/gnocky/doinst.sh new file mode 100644 index 0000000000..4e8ba7071d --- /dev/null +++ b/office/gnocky/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/office/gnocky/gnocky.SlackBuild b/office/gnocky/gnocky.SlackBuild index e52f09acab..1d2e5963b6 100644 --- a/office/gnocky/gnocky.SlackBuild +++ b/office/gnocky/gnocky.SlackBuild @@ -32,7 +32,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gnocky -VERSION=${VERSION:-0.0.6} +VERSION=${VERSION:-0.0.7} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -44,10 +44,13 @@ 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 @@ -69,6 +72,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --build=$ARCH-slackware-linux @@ -77,17 +81,21 @@ make make install DESTDIR=$PKG ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ABOUT-NLS AUTHORS BUGS ChangeLog COPYING INSTALL README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ABOUT-NLS AUTHORS BUGS ChangeLog COPYING INSTALL README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $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.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/office/gnocky/gnocky.info b/office/gnocky/gnocky.info index d462c4dd5b..1ed728e871 100644 --- a/office/gnocky/gnocky.info +++ b/office/gnocky/gnocky.info @@ -1,8 +1,10 @@ PRGNAM="gnocky" -VERSION="0.0.6" +VERSION="0.0.7" HOMEPAGE="http://freshmeat.net/projects/gnocky/" -DOWNLOAD="http://www.gnokii.org/download/gnocky/gnocky-0.0.6.tar.gz" -MD5SUM="f877fef3a16163a162de360d7965ff61" +DOWNLOAD="http://www.gnokii.org/download/gnocky/gnocky-0.0.7.tar.gz" +MD5SUM="607b25ee3bbfc0cee5664018c302d8e0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Andrzej Telszewski" EMAIL="atelszewski@gmail.com" APPROVED="rworkman" |