|
@ -3,6 +3,7 @@ |
|
|
# Slackware build script for osm-gps-map |
|
|
# Slackware build script for osm-gps-map |
|
|
|
|
|
|
|
|
# Copyright 2015 David Spencer, Baildon, West Yorkshire, U.K. |
|
|
# Copyright 2015 David Spencer, Baildon, West Yorkshire, U.K. |
|
|
|
|
|
# Copyright 2024 K. Eugene Carlson, Tsukuba, Japan |
|
|
# All rights reserved. |
|
|
# All rights reserved. |
|
|
# |
|
|
# |
|
|
# Redistribution and use of this script, with or without modification, is |
|
|
# Redistribution and use of this script, with or without modification, is |
|
@ -25,8 +26,8 @@ |
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
|
PRGNAM=osm-gps-map |
|
|
PRGNAM=osm-gps-map |
|
|
VERSION=${VERSION:-1.1.0} |
|
|
|
|
|
BUILD=${BUILD:-2} |
|
|
|
|
|
|
|
|
VERSION=${VERSION:-1.2.0} |
|
|
|
|
|
BUILD=${BUILD:-1} |
|
|
TAG=${TAG:-_SBo} |
|
|
TAG=${TAG:-_SBo} |
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
|
|
|
|
|
@ -79,6 +80,8 @@ find -L . \ |
|
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ |
|
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ |
|
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; |
|
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; |
|
|
|
|
|
|
|
|
|
|
|
OSNAME="$(awk -F= '/^ID=/{print $2}' /etc/os-release)" |
|
|
|
|
|
|
|
|
./autogen.sh |
|
|
./autogen.sh |
|
|
|
|
|
|
|
|
CFLAGS="$SLKCFLAGS" \ |
|
|
CFLAGS="$SLKCFLAGS" \ |
|
@ -92,7 +95,7 @@ CXXFLAGS="$SLKCFLAGS" \ |
|
|
--docdir=/usr/doc/$PRGNAM-$VERSION \ |
|
|
--docdir=/usr/doc/$PRGNAM-$VERSION \ |
|
|
--disable-static \ |
|
|
--disable-static \ |
|
|
--enable-introspection=no \ |
|
|
--enable-introspection=no \ |
|
|
--build=$ARCH-slackware-linux |
|
|
|
|
|
|
|
|
--build=$ARCH-$OSNAME-linux |
|
|
|
|
|
|
|
|
make |
|
|
make |
|
|
make install DESTDIR=$PKG |
|
|
make install DESTDIR=$PKG |
|
|