2009-11-08 20:53:54 +01:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
tar xvfz $src
|
|
|
|
mv SABnzbd-* $out
|
|
|
|
|
|
|
|
mkdir $out/bin
|
2009-11-09 00:37:49 +01:00
|
|
|
echo "$python/bin/python $out/SABnzbd.py \$*" > $out/bin/sabnzbd
|
2009-11-08 20:59:56 +01:00
|
|
|
chmod +x $out/bin/sabnzbd
|
2009-11-08 20:53:54 +01:00
|
|
|
|
2015-12-13 15:45:14 +01:00
|
|
|
wrapPythonProgramsIn $out/bin "$pythonPath"
|
|
|
|
wrapProgram $out/bin/.sabnzbd-wrapped --prefix PATH : "$par2cmdline/bin:$unzip/bin:$unrar/bin"
|
2009-11-08 20:53:54 +01:00
|
|
|
|
|
|
|
echo $out
|