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