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