include $(TOPDIR)/rules.mk
PKG_NAME:=stm32flash
-PKG_REV:=4d7ce45
-PKG_VERSION:=git~$(PKG_REV)
+PKG_VERSION:=0.3
PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=git://gitorious.org/stm32flash/stm32flash.git
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=$(PKG_REV)
-PKG_SOURCE_PROTO:=git
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://releases.stm32flash.googlecode.com/git
+PKG_MD5SUM:=a806c6b10b186b7d06a7eab12c3bc880
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk