Corrected recipe

As PulkoMandy pointed out the "cmd:make" isn't needed in the BUILD_REQUIRES.
Rearranged BUILD() and INSTALL().
This commit is contained in:
Humdinger
2014-01-15 19:11:09 +01:00
parent 0150188039
commit 60502e6bb0

View File

@@ -27,7 +27,6 @@ BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:make
cmd:zip
"
@@ -35,18 +34,16 @@ SOURCE_DIR="youtube-dl"
BUILD()
{
true
}
INSTALL()
{
zip -q youtube-dl youtube_dl/*.py youtube_dl/*/*.py
zip -q -j youtube-dl youtube_dl/__main__.py
echo '#!/bin/python' > youtube-dl
cat youtube-dl.zip >> youtube-dl
rm youtube-dl.zip
chmod a+x youtube-dl
}
INSTALL()
{
mkdir -p $binDir $manDir/man1
cp -a youtube-dl $binDir
cp -a youtube-dl.1 $manDir/man1