mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-12-22 20:15:10 +02:00
fix libhubbub, libparserutils compile and install
This commit is contained in:
parent
1f8d6bd1f3
commit
59dacaa801
@ -22,16 +22,24 @@ define Package/libhubbub/description
|
|||||||
Hubbub is an HTML5 compliant parsing library, written in C. It was developed as part of the NetSurf project and is available for use by other software under the MIT licence.
|
Hubbub is an HTML5 compliant parsing library, written in C. It was developed as part of the NetSurf project and is available for use by other software under the MIT licence.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
rm -rf $(PKG_INSTALL_DIR)
|
||||||
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
COMPONENT_TYPE=lib-shared \
|
||||||
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
all install
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)/usr/include
|
mkdir -p $(1)/usr/include
|
||||||
#$(CP) $(PKG_INSTALL_DIR)/usr/local/include/physfs.h $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/local/include/* $(1)/usr/include/
|
||||||
mkdir -p $(1)/usr/lib
|
mkdir -p $(1)/usr/lib
|
||||||
#$(CP) $(PKG_INSTALL_DIR)/usr/local/lib/libhubbub.so* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/local/lib/* $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libhubbub/install
|
define Package/libhubbub/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
#$(CP) $(PKG_BUILD_DIR)/libhubbub.so* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/local/lib/libhubbub.so* $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,libhubbub))
|
$(eval $(call BuildPackage,libhubbub))
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
|
||||||
PKG_NAME:=libparserutils
|
PKG_NAME:=libparserutils
|
||||||
PKG_VERSION:=0.0.2
|
PKG_VERSION:=0.0.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
@ -31,17 +30,16 @@ define Build/Compile
|
|||||||
all install
|
all install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)/usr/include
|
mkdir -p $(1)/usr/include
|
||||||
#$(CP) $(PKG_INSTALL_DIR)/usr/local/include/physfs.h $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/local/include/* $(1)/usr/include/
|
||||||
mkdir -p $(1)/usr/lib
|
mkdir -p $(1)/usr/lib
|
||||||
#$(CP) $(PKG_INSTALL_DIR)/usr/local/lib/libparserutils.so* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/local/lib/* $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libparserutils/install
|
define Package/libparserutils/install
|
||||||
#$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
#$(CP) $(PKG_BUILD_DIR)/libparserutils.so* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/local/lib/libparserutils.so* $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,libparserutils))
|
$(eval $(call BuildPackage,libparserutils))
|
||||||
|
Loading…
Reference in New Issue
Block a user