summaryrefslogtreecommitdiff
path: root/package/berkeleydb
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-11 14:06:06 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-11 14:06:06 +0000
commite1621a4a2a6b1750402d0228cf85920814babc9a (patch)
tree427f7759087d6775d41f68513dbb417485d0ee45 /package/berkeleydb
parentcd599b61144a0f273d2712ffee64ea8e4af2cdbd (diff)
Use <package>_VERSION in all <package>.mk instead of <package>_VER
Diffstat (limited to 'package/berkeleydb')
-rw-r--r--package/berkeleydb/berkeleydb.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk
index 0dd91fe34..41ec86f3b 100644
--- a/package/berkeleydb/berkeleydb.mk
+++ b/package/berkeleydb/berkeleydb.mk
@@ -3,12 +3,12 @@
# berkeley db
#
#############################################################
-DB_VER:=4.3.29
-DB_SO_VER:=4.3
+DB_VERSION:=4.3.29
+DB_SO_VERSION:=4.3
DB_SITE:=ftp://ftp.sleepycat.com/releases
-DB_SOURCE:=db-$(DB_VER).NC.tar.gz
-DB_DIR:=$(BUILD_DIR)/db-$(DB_VER).NC
-DB_SHARLIB:=libdb-$(DB_SO_VER).so
+DB_SOURCE:=db-$(DB_VERSION).NC.tar.gz
+DB_DIR:=$(BUILD_DIR)/db-$(DB_VERSION).NC
+DB_SHARLIB:=libdb-$(DB_SO_VERSION).so
$(DL_DIR)/$(DB_SOURCE):
$(WGET) -P $(DL_DIR) $(DB_SITE)/$(DB_SOURCE)
@@ -69,7 +69,7 @@ $(TARGET_DIR)/lib/$(DB_SHARLIB): $(STAGING_DIR)/lib/$(DB_SHARLIB)
(cd $(TARGET_DIR)/usr/lib; ln -fs /lib/$(DB_SHARLIB) libdb.so)
-$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libdb*so*
-$(TARGET_DIR)/usr/lib/libdb.a: $(STAGING_DIR)/lib/libdb-$(DB_SO_VER).a
+$(TARGET_DIR)/usr/lib/libdb.a: $(STAGING_DIR)/lib/libdb-$(DB_SO_VERSION).a
cp -dpf $(STAGING_DIR)/include/db.h $(TARGET_DIR)/usr/include/
cp -dpf $(STAGING_DIR)/lib/libdb*.a $(TARGET_DIR)/usr/lib/
cp -dpf $(STAGING_DIR)/lib/libdb*.la $(TARGET_DIR)/usr/lib/