[Lunar-commits] <moonbase> toppler: fix some install paths.

Florin Braescu florin at lunar-linux.org
Sun Apr 19 19:42:55 CEST 2009


commit ef691a912288f7ec8bd11ad3c7391e8b45cd7a4f
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sun Apr 19 20:42:55 2009 +0300

    toppler: fix some install paths.
---
 games/toppler/BUILD |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/games/toppler/BUILD b/games/toppler/BUILD
index bfbf929..b8295bb 100644
--- a/games/toppler/BUILD
+++ b/games/toppler/BUILD
@@ -1,14 +1,19 @@
 (
 
-  ./configure  --build=$BUILD                        \
-               --prefix=$MODULE_PREFIX               \
-               --sysconfdir=/etc                     \
-               --localstatedir=/var/games            \
-               --infodir=$MODULE_PREFIX/share/info   \
-               --mandir=$MODULE_PREFIX/share/man     \
-               --bindir=$MODULE_PREFIX/games         \
-               --datadir=$MODULE_PREFIX/share/games  \
-               $OPTS                                &&
+  sedit "s:\$(datadir)/doc:/usr/share/doc:" Makefile.in  &&
+  sedit "s:\$(datadir)/pixmaps:/usr/share/pixmaps:" Makefile.in  &&
+  sedit "s:\$(datadir)/locale:/usr/share/locale:" po/Makefile.in.in  &&
+  sedit "s:\$(datadir)/applications:/usr/share/applications:" Makefile.in  &&
+  ./configure  --build=$BUILD              \
+               --prefix=/usr               \
+               --sysconfdir=/etc           \
+               --localstatedir=/var/games  \
+               --infodir=/usr/share/info   \
+               --mandir=/usr/share/man     \
+               --bindir=/usr/games         \
+               --datadir=/usr/share/games  \
+	       --localedir=/usr/share/locale  \
+               $OPTS                         &&
 
   default_make
 


More information about the Lunar-commits mailing list