diff options
author | EUcancER <root@euer.krebsco.de> | 2011-08-31 12:52:15 +0200 |
---|---|---|
committer | EUcancER <root@euer.krebsco.de> | 2011-08-31 12:52:15 +0200 |
commit | 8e2af5a9f643632b96564706313edd4524f81bfd (patch) | |
tree | 10e31222000cc4e289c555f6eb487502c273afb4 /oncology/dpfhack_display/build-dpf-lcd4linux.sh | |
parent | efe72ae286caa4ecf88edcbcb619fb0ceb886ca8 (diff) | |
parent | 9030631edd4f5e44234fe77348b92190874f42a2 (diff) |
Gigantor Merge!
Conflicts:
cholerab/news/Candidate - add Ante scriptum
cholerab/shirts/bestellliste - merged as theirs
oncology/dpfhack_display - now a submodule
add bug-fixing for adv_graphgen, as well as a Makefile
Diffstat (limited to 'oncology/dpfhack_display/build-dpf-lcd4linux.sh')
-rwxr-xr-x | oncology/dpfhack_display/build-dpf-lcd4linux.sh | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/oncology/dpfhack_display/build-dpf-lcd4linux.sh b/oncology/dpfhack_display/build-dpf-lcd4linux.sh deleted file mode 100755 index f2b8ceb2..00000000 --- a/oncology/dpfhack_display/build-dpf-lcd4linux.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash - -PREREQUISITES='pkg-config aclocal automake autoconf' - -for i in $PREREQUISITES; do - if [ -z `which $i` ]; then - echo missing tool "'$i'". Please install package. - err=1 - fi -done - -if [ $err ]; then - echo "Error, cancelling" - exit -fi - -# Allow to pass on dpf distribution location, if not pwd: - -if [ -z $1 ]; then - DPFLIB_LOCATION=`pwd` -else - DPFLIB_LOCATION=$1 -fi - -if [ -e lcd4linux ]; then - echo "lcd4linux installed, not fetching" -else - # Check out source from SVN - svn co -r1142 https://ssl.bulix.org/svn/lcd4linux/trunk lcd4linux -fi - -cd lcd4linux - -# Apply patch -if [ -e drv_dpf.c ]; then - echo "Existing drv_dpf.c found, not patching" -else - patch -p1 < ../lcd4linux-svn1142-dpf.patch -fi - -export CPPFLAGS="-I$DPFLIB_LOCATION/dpflib -I$DPFLIB_LOCATION/include" -export LDFLAGS=-L$DPFLIB_LOCATION/dpflib - -if [ -e Makefile ]; then - echo "Not configuring, Makefile found" -else - ./bootstrap - # Feel free to configure this differently: - ./configure --with-drivers=DPF --with-plugins=all --prefix=/usr -fi - -make |