URL:=https://fedorahosted.org/elfutils/
endef
-define Package/libelf
- $(call Package/elfutils/Default)
- TITLE+= (libelf)
-endef
-
define Package/libdw
$(call Package/elfutils/Default)
TITLE+= (libdw)
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_BUILD_DIR)/libelf/libelf.{a,so*} $(1)/usr/lib/
$(CP) $(PKG_BUILD_DIR)/libdw/libdw.{a,so*} $(1)/usr/lib/
endef
-define Package/libelf/install
- $(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_BUILD_DIR)/libelf/libelf.so* $(1)/usr/lib/
-endef
-
define Package/libdw/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libdw/libdw.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libdw))
-$(eval $(call BuildPackage,libelf))