Signed-off-by: Nicolas Thill <nico@openwrt.org>
PKG_VERSION:=0.2.0
PKG_RELEASE:=1
-PKG_SOURCE:=version_$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/Tieske/$(PKG_NAME)/archive/
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-version_$(PKG_VERSION)
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_URL:=https://github.com/Tieske/uuid.git
+PKG_SOURCE_VERSION:=version_$(PKG_VERSION)
+
PKG_MAINTAINER:=Amr Hassan <amr.hassan@gmail.com>
PKG_LICENSE=Apache-2.0