X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=libs%2Flibol%2FMakefile;h=65583ab951d14b58a9165cd5bc99a96630ab23c6;hb=e0fdc001181c8549a4ca6e5abe7ab7d78916562e;hp=f47f66fdf335b7f49faea005c958cbad6760872d;hpb=fc9f442fc88116b4d83694e6917d7b7c60294d3f;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/libs/libol/Makefile b/libs/libol/Makefile index f47f66fdf3..65583ab951 100644 --- a/libs/libol/Makefile +++ b/libs/libol/Makefile @@ -13,7 +13,7 @@ PKG_VERSION:=0.3.18 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.balabit.com/downloads/libol/0.3 +PKG_SOURCE_URL:=http://www.balabit.com/downloads/files/libol/0.3 PKG_MD5SUM:=cbadf4b7ea276dfa85acc38a1cc5ff17 PKG_FIXUP:=libtool @@ -48,6 +48,9 @@ define Build/InstallDev $(INSTALL_BIN) \ $(PKG_INSTALL_DIR)/usr/bin/libol-config \ $(2)/bin/ + $(SED) \ + 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \ + $(2)/bin/libol-config $(INSTALL_DIR) $(1)/usr/include/libol $(INSTALL_DATA) \ @@ -55,15 +58,15 @@ define Build/InstallDev $(1)/usr/include/libol/ $(INSTALL_DIR) $(1)/usr/lib - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/lib/libol.{la,so*} \ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libol.{a,la,so*} \ $(1)/usr/lib/ endef define Package/libol/install $(INSTALL_DIR) $(1)/usr/lib - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/lib/libol.{a,so*} \ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libol.so* \ $(1)/usr/lib/ endef