From: Bruce S. <bl...@us...> - 2004-09-06 02:07:06
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20074/scripts Added Files: Tag: rel-1-2-patches 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.2.2.1 $ # $Date: 2004/09/06 02:06:56 $ # # 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 $PMAKE 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 |