ASFRecorder is a command-line utility that will allow you to download Windows Media files that would ordinarily only be available to stream. Typically these files will have a ".asf" extension. Passing the URL into ASFRecorder will download the typically .WMV-extension file that contains the actual data, so you can watch or listen at your leisure. The program was developed on Windows, and the GUI component is not available on UNIX-like systems, but the command-line portion is just one C file in the "source" directory. Compiling this with a simple gcc command will give you the binary you need. That's why the ebuild doesn't do any configures or anything. This is my first ebuild from scratch, so feel free to let me know if I've done something wrong in there.
Created attachment 4142 [details] asfrecorder-1.1.ebuild Here's the ebuild itself, short and sweet.
Created attachment 4143 [details] asfrecorder-1.1.ebuild Accidentally had some spaces in there mixed up with the tabs, which doesn't look good. This version uses only tabs. I was told when submitting that I'm not allowed to make attachments obsolete, so if someone else could do that for me, I'd appreciate it.
Created attachment 4147 [details] asfrecorder-1.1.ebuild I realize now that I probably should have followed the convention of having the version number in the /usr/doc directory. So here's a newer version that does that. Release early, release often, right? Heh. Sorry for sending this through so many times.
instead of worrying about where to put binaries/documentation, just reduce these 4 lines: mkdir -p ${D}/usr/bin mkdir -p ${D}/usr/doc/asfrecorder-1.1 cp ${S}/source/asfrecorder ${D}/usr/bin cp ${S}/README.TXT ${D}/usr/doc/asfrecorder-1.1 down to these 2: dobin ${S}/source/asfrecorder dodoc ${S}/README.TXT
Created attachment 4173 [details] asfrecorder-1.1.ebuild Got it. Thanks! (this ebuild now uses "dobin" and "dodoc" to install things)
Added it to the portage tree. Thanks for the contribution. -phoen][x-