libdnet: fix source URL 3425/head
authorAlexander Ryzhov <github@ryzhov-al.ru>
Mon, 31 Oct 2016 10:14:01 +0000 (13:14 +0300)
committerAlexander Ryzhov <github@ryzhov-al.ru>
Mon, 31 Oct 2016 10:14:01 +0000 (13:14 +0300)
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
libs/libdnet/Makefile

index 08d3e20b376c4157d795f7fd186c5cfaed8e3508..b0980cefd3d581724b458598e3a5ac626e1099f6 100644 (file)
@@ -11,9 +11,9 @@ PKG_NAME:=libdnet
 PKG_VERSION:=1.12
 PKG_RELEASE:=1
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=http://libdnet.googlecode.com/files/
-PKG_MD5SUM:=9253ef6de1b5e28e9c9a62b882e44cc9
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://github.com/dugsong/libdnet/archive
+PKG_MD5SUM:=d2f1b72eac2a1070959667e9e61dcf20
 
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
@@ -21,6 +21,8 @@ PKG_INSTALL:=1
 PKG_LICENSE:=BSD
 PKG_MAINTAINER:=Luka Perkov <luka@openwrt.org>
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/libdnet