#!/bin/sh # C compiler? CC=cc # XINEBUILD should be set to the directory you compiled xine in (change XINESRC if build directory != source directory).s # -Triskelios XINEBUILD=~/cvs/xine/xine-lib XINESRC=${XINEBUILD} rm -f rtspget echo "* Compiling rtspget..." ${CC} ${CFLAGS} -o rtspget rtspget.c xineutils.c -L. -L${XINEBUILD}/src/input/librtsp/.libs -L${XINEBUILD}/src/input/libreal/.libs -L${XINEBUILD}/src/xine-engine/.libs -lrtsp -lreal -lxine -I${XINESRC}/src/input -I${XINESRC}/src/xine-engine -I${XINESRC}/src/xine-utils if [ $? -eq 0 ]; then echo "* Done." echo "Install the 'rtspget' executable somewhere or run ./rtspget" else echo "* Failed." fi