void-packages/srcpkgs/cvsps2/template

23 lines
664 B
Bash

# Template file for 'cvsps2'
pkgname=cvsps2
version=2.1
revision=4
wrksrc=cvsps-${version}
build_style=gnu-makefile
makedepends="zlib-devel"
short_desc="Generating 'patchsets' from a CVS repo (for git-cvsimport)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="http://cvsps.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/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
}