2 # Copyright (C) 2011 Alexander Gordeev <lasaine@lvk.cs.msu.su>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.daemonology.net/bsdiff
16 PKG_MD5SUM:=e6d812394f0e0ecc8d5df255aa1db22a
18 include $(INCLUDE_DIR)/package.mk
24 URL:=http://www.daemonology.net/bsdiff
25 TITLE:=Tools for building and applying patches to binary files
28 define Package/bsdiff/description
29 bsdiff and bspatch are tools for building and applying patches to binary
30 files. By using suffix sorting (specifically, Larsson and Sadakane's
31 qsufsort) and taking advantage of how executable files change, bsdiff
32 routinely produces binary patches 50-80% smaller than those produced by
33 Xdelta, and 15% smaller than those produced by .RTPatch (a $2750/seat
34 commercial patch tool).
37 define Package/bsdiff/install
38 $(INSTALL_DIR) $(1)/usr/bin
39 $(INSTALL_BIN) $(PKG_BUILD_DIR)/bsdiff $(PKG_BUILD_DIR)/bspatch $(1)/usr/bin/
42 $(eval $(call BuildPackage,bsdiff))