X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=libs%2Fexpat%2FMakefile;h=39081b8def9e3d63c83698f9268a2f6a09166885;hp=a695920088e20bb9d499d230dd081e45878c2984;hb=b7c15b3a379e27ae1a3be5b49e626f7568671e43;hpb=31746dfb3bbcd2d9658d1f4fe234e6d09bbf4a12 diff --git a/libs/expat/Makefile b/libs/expat/Makefile index a695920088..39081b8def 100644 --- a/libs/expat/Makefile +++ b/libs/expat/Makefile @@ -15,7 +15,13 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_MD5SUM:=ee8b492592568805593f81f8cdf2a04c PKG_SOURCE_URL:=@SF/expat -PKG_FIXUP = libtool +PKG_LICENSE:=MIT +PACKAGE_LICENSE_FILES:=COPYING + +PKG_FIXUP:=autoreconf +PKG_REMOVE_FILES:=conftools/libtool.m4 + +PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk @@ -39,7 +45,7 @@ CONFIGURE_ARGS += \ --enable-static define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install + +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install endef define Host/Install @@ -47,9 +53,9 @@ define Host/Install endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/expat{,_external}.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libexpat.{a,so*} $(1)/usr/lib/ endef