add script to install software

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-07-21 11:00:12 +02:00
parent 78e21b5200
commit 4822602c84

18
u2u/clinux-install.sh Executable file
View file

@ -0,0 +1,18 @@
#!/bin/sh
#
# Nico Schottelius <nico-linux@schottelius.org>
# Date: 29-Sep-2005
# Last Modified: -
#
[ $# -eq 1 ] || exit 23
PACKAGE=$1; shift
PREFIX=/usr/packages/$PACKAGE
# Search package, if multiple exists, ask for full name
# Search links
# Remove links
# Remove package
./configure --prefix=$PREfIX $@ && make