void-packages/srcpkgs/cvsps2/template

23 lines
672 B
Bash
Raw Normal View History

2014-07-08 20:39:42 +02:00
# Template file for 'cvsps2'
pkgname=cvsps2
version=2.1
2015-06-09 11:23:58 +02:00
revision=3
2014-07-08 20:39:42 +02:00
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
2015-05-11 15:28:41 +02:00
post_extract() {
sed -i 's/linux/__GLIBC__/g' cbtcommon/text_util.c
2015-06-09 11:23:58 +02:00
sed -i 's/CFLAGS+=/override &/' Makefile
sed -i 's/ -lz/ $(LDFLAGS) &/' Makefile
2015-05-11 15:28:41 +02:00
}
2014-07-08 20:39:42 +02:00
do_install() {
2014-11-23 15:20:35 +01:00
make install prefix=$DESTDIR/usr
2014-07-08 20:39:42 +02:00
}