diff --git a/srcpkgs/ziptuner/template b/srcpkgs/ziptuner/template new file mode 100644 index 00000000000..b7041d9c31f --- /dev/null +++ b/srcpkgs/ziptuner/template @@ -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 " +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 +}