diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-11 14:06:06 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-11 14:06:06 +0000 |
commit | e1621a4a2a6b1750402d0228cf85920814babc9a (patch) | |
tree | 427f7759087d6775d41f68513dbb417485d0ee45 /package/ncurses/ncurses.mk | |
parent | cd599b61144a0f273d2712ffee64ea8e4af2cdbd (diff) |
Use <package>_VERSION in all <package>.mk instead of <package>_VER
Diffstat (limited to 'package/ncurses/ncurses.mk')
-rw-r--r-- | package/ncurses/ncurses.mk | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index d1967f9f3..ed3663bd2 100644 --- a/package/ncurses/ncurses.mk +++ b/package/ncurses/ncurses.mk @@ -23,10 +23,10 @@ # USA # TARGETS -NCURSES_VER:=5.6 +NCURSES_VERSION:=5.6 NCURSES_SITE:=http://ftp.gnu.org/pub/gnu/ncurses -NCURSES_DIR:=$(BUILD_DIR)/ncurses-$(NCURSES_VER) -NCURSES_SOURCE:=ncurses-$(NCURSES_VER).tar.gz +NCURSES_DIR:=$(BUILD_DIR)/ncurses-$(NCURSES_VERSION) +NCURSES_SOURCE:=ncurses-$(NCURSES_VERSION).tar.gz NCURSES_CAT:=$(ZCAT) ifneq ($(strip $(BR2_PACKAGE_NCURSES_TARGET_HEADERS)),y) @@ -78,11 +78,11 @@ $(NCURSES_DIR)/.configured: $(NCURSES_DIR)/.patched ); touch $@ -$(NCURSES_DIR)/lib/libncurses.so.$(NCURSES_VER): $(NCURSES_DIR)/.configured +$(NCURSES_DIR)/lib/libncurses.so.$(NCURSES_VERSION): $(NCURSES_DIR)/.configured $(MAKE1) DESTDIR=$(STAGING_DIR) -C $(NCURSES_DIR) \ libs panel menu form headers -$(STAGING_DIR)/lib/libncurses.so.$(NCURSES_VER): $(NCURSES_DIR)/lib/libncurses.so.$(NCURSES_VER) +$(STAGING_DIR)/lib/libncurses.so.$(NCURSES_VERSION): $(NCURSES_DIR)/lib/libncurses.so.$(NCURSES_VERSION) $(MAKE1) \ prefix=$(STAGING_DIR)/usr/ \ exec_prefix=$(STAGING_DIR) \ @@ -102,7 +102,7 @@ $(STAGING_DIR)/lib/libncurses.so.$(NCURSES_VER): $(NCURSES_DIR)/lib/libncurses.s chmod a-x $(NCURSES_DIR)/lib/libncurses.so* touch -c $@ -$(TARGET_DIR)/lib/libncurses.so.$(NCURSES_VER): $(STAGING_DIR)/lib/libncurses.so.$(NCURSES_VER) +$(TARGET_DIR)/lib/libncurses.so.$(NCURSES_VERSION): $(STAGING_DIR)/lib/libncurses.so.$(NCURSES_VERSION) cp -dpf $(NCURSES_DIR)/lib/libncurses.so* $(TARGET_DIR)/lib/ -cp -dpf $(STAGING_DIR)/usr/lib/terminfo $(TARGET_DIR)/usr/lib/ mkdir -p $(TARGET_DIR)/usr/share/terminfo/x @@ -134,11 +134,11 @@ $(TARGET_DIR)/usr/lib/libncurses.a: $(STAGING_DIR)/lib/libncurses.a ) (cd $(TARGET_DIR)/usr/include; ln -fs ncurses.h curses.h) rm -f $(TARGET_DIR)/lib/libncurses.so - (cd $(TARGET_DIR)/usr/lib; ln -fs ../../lib/libncurses.so.$(NCURSES_VER) libncurses.so) - -$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libncurses.so.$(NCURSES_VER) + (cd $(TARGET_DIR)/usr/lib; ln -fs ../../lib/libncurses.so.$(NCURSES_VERSION) libncurses.so) + -$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libncurses.so.$(NCURSES_VERSION) touch -c $@ -ncurses: $(TARGET_DIR)/lib/libncurses.so.$(NCURSES_VER) +ncurses: $(TARGET_DIR)/lib/libncurses.so.$(NCURSES_VERSION) ncurses-headers: $(TARGET_DIR)/usr/lib/libncurses.a |