diff options
Diffstat (limited to 'media/video/oggfwd')
-rw-r--r-- | media/video/oggfwd/oggfwd-0.2.diff | 25 | ||||
-rw-r--r-- | media/video/oggfwd/oggfwd.mkbuild | 98 |
2 files changed, 123 insertions, 0 deletions
diff --git a/media/video/oggfwd/oggfwd-0.2.diff b/media/video/oggfwd/oggfwd-0.2.diff new file mode 100644 index 0000000..d385874 --- /dev/null +++ b/media/video/oggfwd/oggfwd-0.2.diff @@ -0,0 +1,25 @@ +--- Makefile.orig 2006-10-30 22:04:46.000000000 -0200 ++++ Makefile 2006-10-30 22:04:28.000000000 -0200 +@@ -2,7 +2,7 @@ + SRC = oggfwd.c + MAN = oggfwd.1 + +-PREFIX ?= /usr/local ++PREFIX ?= /usr + BINDIR ?= ${PREFIX}/bin + MAN1DIR ?= ${PREFIX}/man/man1 + +@@ -23,9 +23,10 @@ + ${CC} ${CFLAGS} ${PTHREADFLAGS} ${INCLUDEFLAGS} ${LINKFLAGS} -o ${PROG} $< + + install: ${PROG} +- ${INSTALL} -c -m 555 -o root -g bin ${PROG} ${BINDIR} +- test -d ${MAN1DIR} || ${INSTALL} -d -o root ${MAN1DIR} +- ${INSTALL} -c -m 444 -o root -g bin ${MAN} ${MAN1DIR} ++ test -d ${DESTDIR}${BINDIR} || ${INSTALL} -d -o root ${DESTDIR}${BINDIR} ++ ${INSTALL} -c -m 555 -o root -g bin ${PROG} ${DESTDIR}${BINDIR} ++ test -d ${DESTDIR}${MAN1DIR} || ${INSTALL} -d -o root ${DESTDIR}${MAN1DIR} ++ ${INSTALL} -c -m 444 -o root -g bin ${MAN} ${DESTDIR}${MAN1DIR} + + clean: + -@rm -f ${PROG} *~ core *.core diff --git a/media/video/oggfwd/oggfwd.mkbuild b/media/video/oggfwd/oggfwd.mkbuild new file mode 100644 index 0000000..6613731 --- /dev/null +++ b/media/video/oggfwd/oggfwd.mkbuild @@ -0,0 +1,98 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://juba.tvlivre.org/oggfwd-0.2.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="ChangeLog README" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/video/oggfwd" + +# Dependencies +[[SLACK REQUIRED]]="speex: libshout" + +# Patch depth +[[NUMBER OF PREFIX SLASHES TO STRIP]]="0" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source +off: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +oggfwd: OggFWD (a simple ogg streamer) +oggfwd: +oggfwd: A simple ogg streamer (to icecast compatible servers), very useful +oggfwd: for video streaming. +oggfwd: +oggfwd: +oggfwd: +oggfwd: +oggfwd: +oggfwd: http://v2v.cc/~j/oggfwd/ +oggfwd: +#<slackdesc |