void-packages/srcpkgs/ziptuner/template

26 lines
669 B
Bash

# Template file for 'ziptuner'
pkgname=ziptuner
version=0.6
revision=1
build_style=gnu-makefile
makedepends="libcurl-devel"
depends="dialog"
short_desc="Internet radio station tuner for the console using C and dialog"
maintainer="zhengqunkoo <root@zhengqunkoo.com>"
license="MIT"
homepage="https://github.com/deeice/ziptuner"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=eaa8d9e3e212fed12c38b8a517dd685c03629d5e74e590baed79281f018f1877
post_patch() {
vsed -i -e 's/^CFLAGS :=/CFLAGS +=/' \
-e 's/-Wl,--unresolved-symbols=ignore-in-shared-libs//' \
-e 's/\$(LFLAGS)/$(LDFLAGS) &/' \
Makefile
}
do_install() {
vbin ${pkgname}
vlicense LICENSE
}