New package: ziptuner-0.6

Closes: #21361
This commit is contained in:
zhengqunkoo 2020-04-27 07:37:37 +08:00 committed by Đoàn Trần Công Danh
parent b997348a4a
commit d3967b7dfb

25
srcpkgs/ziptuner/template Normal file
View file

@ -0,0 +1,25 @@
# 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
}