void-packages/srcpkgs/srw/template

18 lines
516 B
Bash

# Template file for 'srw'
pkgname=srw
version=0.7
revision=1
wrksrc=emg-srw-14f0a3c1f3bb
build_style=gnu-makefile
short_desc="Simple read wrapper"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-3"
homepage="https://bitbucket.org/emg/srw"
distfiles="https://bitbucket.org/emg/srw/get/${version}.tar.bz2"
checksum=7e0c3a30747bd58b46a9266303e59a587e0859d3803971fe36dbf57c68e04e27
pre_build() {
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk
}