mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
gis/osm2pgrouting: Update DOWNLOAD.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
parent
f5d11c79a4
commit
e8e1961e16
2 changed files with 9 additions and 13 deletions
|
@ -58,20 +58,16 @@ set -e
|
|||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
rm -rf $TMP/$PRGNAM-$VERSION
|
||||
cd $TMP
|
||||
if [ -e $CWD/v$VERSION.tar.gz ]; then
|
||||
tar xvf $CWD/v$VERSION.tar.gz
|
||||
else
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
fi
|
||||
cd $PRGNAM-$VERSION
|
||||
rm -rf $PRGNAM-$PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
sed -i "s_/usr/share/bin_/usr/bin_" CMakeLists.txt
|
||||
mkdir -p build
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="osm2pgrouting"
|
||||
VERSION="2.0.0"
|
||||
HOMEPAGE="http://pgrouting.org"
|
||||
DOWNLOAD="https://github.com/pgRouting/osm2pgrouting/archive/v2.0.0.tar.gz"
|
||||
MD5SUM="ee7a9e5caa0a40511b8210f9581e9e9a"
|
||||
DOWNLOAD="https://github.com/pgRouting/osm2pgrouting/archive/osm2pgrouting-2.0.0/osm2pgrouting-2.0.0.tar.gz"
|
||||
MD5SUM="79fbfe4cc1e75169f10744f9ab158139"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="pgrouting"
|
||||
|
|
Loading…
Reference in a new issue