+PKG_VERSION:=$(strip $(subst ",, $(CONFIG_UCLIBC_VERSION)))#"))
+PKG_EXTRAVERSION:=$(strip $(subst ",, $(CONFIG_UCLIBC_EXTRA_VERSION)))#"))
+PKG_VERSION_SNAPSHOT:=$(strip $(subst ",, $(CONFIG_UCLIBC_VERSION_SNAPSHOT)))#"))
+ifeq ($(PKG_VERSION_SNAPSHOT),y)
+PKG_SOURCE_URL:=http://www.uclibc.org/downloads/snapshots
+else
+PKG_SOURCE_URL:=http://www.uclibc.org/downloads
+endif
+PATCH_DIR:=./patches/$(PKG_VERSION)$(PKG_EXTRAVERSION)
+CONFIG_DIR:=./config/$(PKG_VERSION)$(PKG_EXTRAVERSION)
+
+ifeq ($(PKG_VERSION),0.9.28)
+ifeq ($(PKG_EXTRAVERSION),.2)
+PKG_MD5SUM:=7a20a58ee1e2532f4610933515ea8998
+endif
+ifeq ($(PKG_EXTRAVERSION),.3)
+PKG_MD5SUM:=428405a36b4662980d9343b32089b5a6
+endif
+endif
+
+ifeq ($(PKG_VERSION),0.9.29)
+ifeq ($(PKG_EXTRAVERSION),)
+# currently the default version, no special sub-directory needed
+PATCH_DIR:=./patches
+CONFIG_DIR:=./config
+PKG_MD5SUM:=61dc55f43b17a38a074f347e74095b20
+endif
+endif