Added sabnzbd usenet download tool :)

svn path=/nixpkgs/trunk/; revision=18295
This commit is contained in:
Wouter den Breejen 2009-11-08 19:59:56 +00:00
parent 123e595990
commit d24e7434ec

View file

@ -3,10 +3,10 @@ source $stdenv/setup
tar xvfz $src
mv SABnzbd-* $out
-- Create a start script and let wrapProgram with toPythonPath wrap it so that python is started with cheetahTemplate in its importpath (classpath)
# Create a start script and let wrapProgram with toPythonPath wrap it so that python is started with cheetahTemplate in its importpath (classpath)
mkdir $out/bin
echo "$python/bin/python $out/SABnzbd.py" > $out/bin/sabnzbd.sh
chmod +x $out/bin/sabnzbd.sh
echo "$python/bin/python $out/SABnzbd.py" > $out/bin/sabnzbd
chmod +x $out/bin/sabnzbd
for i in $(cd $out/bin && ls); do
wrapProgram $out/bin/$i \