summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-08-04 16:16:13 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-08-04 16:16:13 +0200
commitcb937b7ca4b5ac777a4a5374d3cbea018c455381 (patch)
tree72edc9b83df9afe01faf712fe7c08f55713d8a00 /src
parent9857139ebcbb30c10e037d37b301750227142640 (diff)
downloaddotfiles-cb937b7ca4b5ac777a4a5374d3cbea018c455381.tar.gz
dotfiles-cb937b7ca4b5ac777a4a5374d3cbea018c455381.tar.bz2
dotfiles-cb937b7ca4b5ac777a4a5374d3cbea018c455381.zip
Add src/env.sh
Diffstat (limited to 'src')
-rwxr-xr-xsrc/env.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/env.sh b/src/env.sh
new file mode 100755
index 0000000..565c9da
--- /dev/null
+++ b/src/env.sh
@@ -0,0 +1,23 @@
+doecho() {
+ echo $@
+ eval $@
+}
+
+home=~ben
+
+doecho export prefix=$home/.local
+
+doecho export 'ACLOCAL="aclocal -I '$prefix'/share/aclocal"'
+
+doecho export LD_LIBRARY_PATH="$prefix/lib"
+doecho export PKG_CONFIG_PATH=$LD_LIBRARY_PATH/pkgconfig
+#doecho export C_INCLUDE_PATH="$prefix/include"
+
+doecho export EGL_DRIVER=egl_dri2
+#doecho export EGL_DRIVER=egl_gallium
+
+doecho export EGL_LOG_LEVEL=debug
+#doecho export EGL_PLATFORM=wayland
+
+doecho export XDG_RUNTIME_DIR=$home/src
+doecho export SDL_VIDEODRIVER=wayland