diff options
author | Pablo Santamaria <pablosantamaria@gmail.com> | 2012-08-10 21:55:18 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-10 21:55:18 -0500 |
commit | 8cf6f4066d17cd4a2703fe985d2fd11e95d2f411 (patch) | |
tree | e245f0a8fda4c3d1da2e0a26dcfd1bdb082683fc /network/gmapcatcher/gmapcatcher.SlackBuild | |
parent | 9149fe31478aaba296b32a75ca1813ee441a5210 (diff) | |
download | slackbuilds-8cf6f4066d17cd4a2703fe985d2fd11e95d2f411.tar.gz |
network/gmapcatcher: Updated for version 0.7.7.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/gmapcatcher/gmapcatcher.SlackBuild')
-rw-r--r-- | network/gmapcatcher/gmapcatcher.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/network/gmapcatcher/gmapcatcher.SlackBuild b/network/gmapcatcher/gmapcatcher.SlackBuild index bc92f78b5e..55767ac570 100644 --- a/network/gmapcatcher/gmapcatcher.SlackBuild +++ b/network/gmapcatcher/gmapcatcher.SlackBuild @@ -5,16 +5,14 @@ # Written by Pablo Santamaria (pablosantamaria) PRGNAM=gmapcatcher -VERSION=${VERSION:-0.7.5.0} +VERSION=${VERSION:-0.7.7.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; -# Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -53,6 +51,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Patch setup.py for include tilesRepo +patch -p1 < $CWD/patch-setup.diff + # Prepare files for install rm -rf WindowsMobile mv maps.py mapcatcher @@ -63,6 +64,7 @@ cp images/map.png images/mapcatcher.png chmod a-x gmapcatcher.desktop python setup.py install --root=$PKG +( cd $PKG/usr/bin ; ln -s mapcatcher gmapcatcher ) find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -74,7 +76,6 @@ mv $PKG/usr/share/man $PKG/usr mkdir -p $PKG/usr/doc mv $PKG/usr/share/doc/mapcatcher $PKG/usr/doc/$PRGNAM-$VERSION rmdir $PKG/usr/share/doc - cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |