Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Data files path
11-06-2009, 05:23 AM,
#3
 
Thank you for your reply.

This what I did in the end:
Code:
scons -j 2 prefix=/usr datadir=share/games/vdrift/data release=1 arch=i686 localstatedir=/var sysconfdir=/etc || return 1
    mv $startdir/src/$pkgname-$pkgver/build/vdrift $startdir/src/$pkgname-$pkgver/build/vdrift.back
    scons -j 2 install prefix=$startdir/pkg/usr datadir=share/games/vdrift/data
    mv $startdir/src/$pkgname-$pkgver/build/vdrift.back $startdir/pkg/usr/bin/vdrift
I realised that after the first scons command the datadir was correctely set but after the second scons command the vdrift binary was compiled again and this time the datadir was set to $startdir/pkg/usr/share/games/vdrift/data.
Maybe there is a more elegant solution, but this one works :wink:
Reply


Messages In This Thread
[SOLVED] Data files path - by fer - 11-05-2009, 12:46 PM
[No subject] - by joevenzon_phpbb2_import3 - 11-06-2009, 01:57 AM
[No subject] - by fer - 11-06-2009, 05:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)