diff options
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 bc92f78b5e16e..55767ac57050e 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 |