From: Bruce S. <bl...@us...> - 2004-08-01 13:29:39
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30087/scripts Added Files: mpeg_encode Log Message: added mpeg_encode for motion to create movies --- NEW FILE: mpeg_encode --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/mpeg_encode,v $ # $Revision: 1.1 $ # $Date: 2004/08/01 13:29:31 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: mpeg_encode # Required-Start: $basebuildtools $libs # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: mpeg encoder for motion ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings source $MYDIR/functions case $1 in build ) if [ "$CONFIG_MPEG_ENCODE" = "y" ]; then if [ ! -f .patch.done ]; then bzcat $DL_DIR/src/mpeg_encode.patch1.bz2 | patch -p0 || exit 1 touch .patch.done fi make clean make all || exit 1 fi ;; install ) if [ "$CONFIG_MPEG_ENCODE" = "y" ]; then cp -p mpeg_encode $CDDIR/usr/bin || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |