From 6b67396578a7622a9bc0bd885d4720f1ff717712 Mon Sep 17 00:00:00 2001 From: Vale Tolpegin Date: Tue, 9 Dec 2014 21:29:20 +0000 Subject: [PATCH] Switched install directory of python files to correct directory --- dev-cpp/hugen/hugen-1.recipe | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dev-cpp/hugen/hugen-1.recipe b/dev-cpp/hugen/hugen-1.recipe index ccbbc4733..887b33bb7 100644 --- a/dev-cpp/hugen/hugen-1.recipe +++ b/dev-cpp/hugen/hugen-1.recipe @@ -23,8 +23,10 @@ REQUIRES=" cmd:python$secondaryArchSuffix " BUILD_REQUIRES=" + cmd:python " BUILD_PREREQUIRES=" + cmd:python " BUILD() @@ -35,8 +37,9 @@ BUILD() INSTALL() { - mkdir -p $binDir/hugen_app - cp -R hugen.py configs/ templates/ $binDir/hugen_app - echo python $binDir/hugen_app/hugen.py > $binDir/hugen - chmod +x $binDir/hugen + installLocation=lib/python$version/vendor-packages + mkdir -p $installLocation/hugen_app + cp -R hugen.py configs/ templates/ $installLocation/hugen_app + echo python $installLocation/hugen_app/hugen.py > $installLocation/hugen + chmod +x $installLocation/hugen }