pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/30657: multimedia realplayer



>Number:         30657
>Category:       pkg
>Synopsis:       multimedia realplayer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 03 17:05:00 +0000 2005
>Originator:     Zafer Aydogan
>Release:        netbsd 2.0
>Organization:
>Environment:
NetBSD 2.0 i386
>Description:
I would like to commit/contribute a shell script that I've written to download 
the missing files when installing multimedia/realplayer.

Normally the Makefile prompts you to download two files from the Realplayer 
Website to /usr/pkgsrc/distfiles

Missing Files are: 
rp8_linux20_libc6_i386_cs1.bin
rv9_libc6_i386_cs2.tgz

The following script can do that automatically, and may be integrated in the 
build process.


------------------------------------------
cd /usr/pkgsrc/distfiles/
DESTDIR=`lynx --dump 
"http://forms.real.com/real/player/blackjack.html?platform2=Unix&product=RealPlayer%208&proc=Linux%20i38
6&lang=en&show_list=0&src=blackjack" | grep rp8_linux | tail -n 1 | awk {'print 
$2'}`
if [ ! -e "rp8_linux20_libc6_i386_cs1.bin" ]; then
        echo "Downloading Distfiles... Please Wait."
        wget $DESTDIR
fi
if [ ! -e "rv9_libc6_i386_cs2.tgz" ]; then
        echo "Downloading Distfiles... Please Wait."
        wget 
"http://forms.real.com/real/player/blackjack.html?platform2=Unix&product=RV9%20Codec&proc=Linux%20i386&lang=en&s
how_list=0&src=blackjack"
fi
unset PKG_PATH
cd /usr/pkgsrc/multimedia/realplayer/
make clean && make install clean
set PKG_PATH
-----------------------------------------------------
Requires lynx and wget.

The Realplayer Website changes the Linknames once a day.
This script can deal with the daily changing Adress of the Link to the Files. 

You can modify and suit the script whatever you like to integrate it, if you 
wish.

Best Regards, Zafer.
>How-To-Repeat:
No Problem. Just a commit.
>Fix:
No Problem.




Home | Main Index | Thread Index | Old Index