[package] install libdb47 headers and libs in the usual staging locations
[openwrt/svn-archive/archive.git] / libs / db47 / Makefile
index 7180963bb44932eaa1c556c7b8c85b72701d4f55..5edb82c3c0dd8d8385a90d729011c9cded0a59c8 100644 (file)
@@ -86,10 +86,10 @@ define Package/libdb47/install
 endef
 
 define Build/InstallDev
-       mkdir -p $(1)/usr/lib/db47/usr/include
-       $(CP) $(PKG_INSTALL_DIR)/usr/include/db.h $(1)/usr/lib/db47/usr/include/
-       mkdir -p $(1)/usr/lib/db47/usr/lib
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdb*.{a,so} $(1)/usr/lib/db47/usr/lib
+       mkdir -p $(1)/usr/include
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/db.h $(1)/usr/include/
+       mkdir -p $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdb*.{a,so} $(1)/usr/lib
 endef
 
 $(eval $(call BuildPackage,libdb47))