treewide: clean up download hashes
[openwrt/staging/dedeckeh.git] / package / libs / popt / Makefile
index bd2e6e2883da78189bc3786972f27b8183a44835..7bd765f7d3ce695636db5a0d0cb94685a143a116 100644 (file)
@@ -13,7 +13,7 @@ PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://rpm5.org/files/popt/
-PKG_MD5SUM:=3743beefa3dd6247a73f8f7a32c14c33
+PKG_HASH:=e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8
 PKG_LICENSE:=MIT
 
 PKG_FIXUP:=autoreconf
@@ -45,6 +45,8 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/include/popt.h $(1)/usr/include/
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.{a,so*} $(1)/usr/lib/
+       $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/popt.pc $(1)/usr/lib/pkgconfig/
 endef
 
 define Package/libpopt/install
@@ -52,9 +54,5 @@ define Package/libpopt/install
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.so.* $(1)/usr/lib/
 endef
 
-$(eval $(call RequireCommand,xgettext, \
-       $(PKG_NAME) requires the GNU gettext development package installed on the local system to build. \
-))
-
 $(eval $(call BuildPackage,libpopt))