boa: use BOA_VERSION instead of spawning a shell/basename for build dir
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 6 May 2010 19:10:42 +0000 (21:10 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 6 May 2010 19:10:42 +0000 (21:10 +0200)
And as it is a recursive variable, this is done twice during startup.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/boa/boa.mk

index 9356d52be861050802843bba9b3f9b3b11660e00..a51de96feaad55e50f65f4668b2cb616f8638821 100644 (file)
@@ -12,7 +12,7 @@ BOA_VERSION=0.94.14rc21
 BOA_SOURCE=boa-$(BOA_VERSION).tar.gz
 BOA_CAT:=$(ZCAT)
 BOA_SITE=http://www.boa.org/
-BOA_DIR=$(BUILD_DIR)/${shell basename $(BOA_SOURCE) .tar.gz}
+BOA_DIR=$(BUILD_DIR)/boa-$(BOA_VERSION)
 BOA_WORKDIR=$(BUILD_DIR)/boa_workdir
 
 $(DL_DIR)/$(BOA_SOURCE):