summaryrefslogtreecommitdiff
path: root/package/lzo/lzo.mk
diff options
context:
space:
mode:
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