New package: buffer-2014.11.26

This commit is contained in:
jbu 2016-08-12 10:05:46 +02:00
parent 330691db67
commit 624f46cefc
1 changed files with 25 additions and 0 deletions

25
srcpkgs/buffer/template Normal file
View File

@ -0,0 +1,25 @@
# Template file for 'buffer'
pkgname=buffer
version=2014.11.26
revision=1
_gitrev=2b58f5b78f7511b4d4e2eb0e9f8b0af16dea3985
wrksrc=${pkgname}-${_gitrev}
build_style=gnu-makefile
short_desc="Speed up writing tapes on remote tape drives"
maintainer="jbu <pullmoll@t-online.de>"
license="GPL-2"
homepage="https://github.com/scotte/buffer"
distfiles="https://github.com/scotte/buffer/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=14a881fcd070b1dcd8ec91d8d036f22094c22ac3769c274f0d7d6799038a73c3
pre_build() {
sed -i Makefile \
-e"s;^\(CC\)=.*;\1=$CC;" \
-e's;$(CC) -o buffer $(CFLAGS) buffer.o sem.o;& $(LDFLAGS);'
}
do_install() {
vbin buffer
mv buffer.{man,1}
vman buffer.1
}