void-packages/srcpkgs/bsdiff/template
2014-02-18 15:30:07 +01:00

24 lines
587 B
Text

# Template file for 'bsdiff'
pkgname=bsdiff
version=4.3
revision=2
makedepends="bzip2-devel"
homepage="http://www.daemonology.net/bsdiff"
short_desc="Binary diff/patch utility"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Simplified BSD"
distfiles="$homepage/$pkgname-$version.tar.gz"
checksum=18821588b2dc5bf159aa37d3bcb7b885d85ffd1e19f23a0c57a58723fea85f48
do_build() {
for i in diff patch; do
$CC $CFLAGS -Wall -lbz2 $LDFLAGS bs${i}.c -o bs${i}
done
}
do_install() {
for i in diff patch; do
vinstall bs${i} 755 usr/bin
vinstall bs${i}.1 644 usr/share/man/man1
done
}