summaryrefslogtreecommitdiffstats
path: root/package/lzo/lzo.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-01-03 20:19:58 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-01-03 20:19:58 +0000
commit85eff8d0e4db93f67b878f1cd602f1164aa49345 (patch)
tree458ea1eeff71b4f6f5426fa4e2fc341b053018a1 /package/lzo/lzo.mk
parent062d362921570eef81b7647568289e5b97e2ea54 (diff)
downloadbuildroot-novena-85eff8d0e4db93f67b878f1cd602f1164aa49345.tar.gz
buildroot-novena-85eff8d0e4db93f67b878f1cd602f1164aa49345.zip
- better encapsulation of version
- quote TARGET_CC for setups which need flags in CC
Diffstat (limited to 'package/lzo/lzo.mk')
-rw-r--r--package/lzo/lzo.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk
index 5c0f264cd..90d59bd33 100644
--- a/package/lzo/lzo.mk
+++ b/package/lzo/lzo.mk
@@ -6,11 +6,12 @@
# anything to be installed into the target system.
#
#############################################################
-LZO_SOURCE:=lzo_1.08.orig.tar.gz
+LZO_VERSION:=1.08
+LZO_SOURCE:=lzo_$(LZO_VERSION).orig.tar.gz
LZO_SITE:=http://ftp.debian.org/debian/pool/main/l/lzo
-#LZO_SOURCE:=lzo-1.08.tar.bz2
+#LZO_SOURCE:=lzo-$(LZO_VERSION).tar.bz2
#LZO_SITE:=http://www.oberhumer.com/opensource/lzo/download
-LZO_DIR:=$(BUILD_DIR)/lzo-1.08
+LZO_DIR:=$(BUILD_DIR)/lzo-$(LZO_VERSION)
LZO_CAT:=zcat
$(DL_DIR)/$(LZO_SOURCE):
@@ -45,7 +46,7 @@ $(LZO_DIR)/src/liblzo.la: $(LZO_DIR)/.configured
$(MAKE) -C $(LZO_DIR)
$(STAGING_DIR)/lib/liblzo.a: $(LZO_DIR)/src/liblzo.la
- $(MAKE) CC=$(TARGET_CC) DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) install
+ $(MAKE) CC="$(TARGET_CC)" DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) install
touch -c $(STAGING_DIR)/lib/liblzo.a
lzo: uclibc $(STAGING_DIR)/lib/liblzo.a