X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0e4bb21064053e0e90fe60e1a1710da7d5323df8..e758f86a63f8f463b7a4224039ea83a51810b51f:/openwrt/package/ncurses/Makefile?ds=sidebyside diff --git a/openwrt/package/ncurses/Makefile b/openwrt/package/ncurses/Makefile index 29dedc224..39674bfd9 100644 --- a/openwrt/package/ncurses/Makefile +++ b/openwrt/package/ncurses/Makefile @@ -7,14 +7,7 @@ PKG_VERSION:=5.2 PKG_RELEASE:=8 PKG_MD5SUM:=464d6a49010cf2a6eb9ce59a264d4d47 -PKG_SOURCE_URL:=\ - ftp://ftp.gnu.org/pub/gnu/$(PKG_NAME) \ - ftp://gatekeeper.dec.com/pub/GNU/$(PKG_NAME) \ - ftp://ftp.uu.net/archive/systems/gnu/$(PKG_NAME) \ - ftp://ftp.eu.uu.net/pub/gnu/$(PKG_NAME) \ - ftp://ftp.funet.fi/pub/gnu/prep/$(PKG_NAME) \ - ftp://ftp.leo.org/pub/comp/os/unix/gnu/$(PKG_NAME) \ - ftp://ftp.digex.net/pub/gnu/$(PKG_NAME) +PKG_SOURCE_URL:=@GNU/ncurses PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_CAT:=zcat @@ -25,10 +18,10 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,LIBNCURSES,libncurses,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared +$(PKG_BUILD_DIR)/.configured: touch $@ -$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured +$(PKG_BUILD_DIR)/.built: rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ @@ -158,6 +151,6 @@ uninstall-dev: $(STAGING_DIR)/usr/lib/libcurses.so \ $(STAGING_DIR)/usr/lib/lib{ncurses,panel}.{a,so*} \ -compile: install-dev -clean: uninstall-dev +compile-targets: install-dev +clean-targets: uninstall-dev