gis/foxtrotgps: Put everything in the build directory.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Mario Preksavec 2017-07-24 05:32:55 +07:00 committed by Willy Sudiarto Raharjo
parent 5bd674ade2
commit 96f38c22ce
1 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Mario Preksavec <mario at slackware dot hr>
PRGNAM=foxtrotgps
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
@ -69,6 +71,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# "--with-gconf-source" requires this, it will put all files in the package
mkdir -p $PKG/etc/gconf/gconf.xml.defaults
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@ -79,6 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--infodir=/usr/info \
--with-gconf-source=xml:merged:$PKG/etc/gconf/gconf.xml.defaults \
--build=$ARCH-slackware-linux
make