void-packages/srcpkgs/cvsps2/template
2015-06-09 11:25:34 +02:00

22 lines
672 B
Bash

# Template file for 'cvsps2'
pkgname=cvsps2
version=2.1
revision=3
wrksrc=cvsps-${version}
build_style=gnu-makefile
makedepends="zlib-devel"
short_desc="Generating 'patchsets' from a CVS repo (for git-cvsimport)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.cobite.com/cvsps/"
distfiles="http://www.cobite.com/cvsps/cvsps-${version}.tar.gz"
checksum=91d3198b33463861a581686d5fcf99a5c484e7c4d819384c04fda9cafec1075a
post_extract() {
sed -i 's/linux/__GLIBC__/g' cbtcommon/text_util.c
sed -i 's/CFLAGS+=/override &/' Makefile
sed -i 's/ -lz/ $(LDFLAGS) &/' Makefile
}
do_install() {
make install prefix=$DESTDIR/usr
}