summaryrefslogtreecommitdiffstats
path: root/extras/hook-scripts/reset/Makefile.am
Commit message (Expand)AuthorAgeFilesLines
* cli/hooks : Add volume set options to enable/disable nfs-ganesha support.Meghana M2014-05-031-0/+2
href='#n16'>16 17 18 19 20 21 22 23 24 25 26
#!/bin/sh

if [ ! -f ../pts-shared/pts-trondheim-3.wav ]
  then
     tar -xvf ../pts-shared/pts-trondheim-wav-3.tar.gz -C ../pts-shared/
fi

THIS_DIR=$(pwd)
mkdir $THIS_DIR/ape_

tar -xvf mac-3.99-u4-b5-s4.tar.gz
cd mac-3.99-u4-b5-s4/
CXXFLAGS="-DSHNTOOL" ./configure --prefix=$THIS_DIR/ape_
make -j $NUM_CPU_JOBS
make install
cd ..
rm -rf mac-3.99-u4-b5-s4/

echo "#!/bin/sh
./ape_/bin/mac ../pts-shared/pts-trondheim-3.wav /dev/null -c4000 1>/dev/null 2>/dev/null
exit 0" > ape_process
chmod +x ape_process

echo "#!/bin/sh
/usr/bin/time -f \"WAV To APE Encode Time: %e Seconds\" ./ape_process 2>&1" > encode-ape
chmod +x encode-ape