void-packages/srcpkgs/liquid-dsp/template

36 lines
836 B
Bash

# Template file for 'liquid-dsp'
pkgname=liquid-dsp
version=1.3.1
revision=1
build_style=gnu-configure
hostmakedepends="automake"
makedepends="fftw-devel"
short_desc="Signal processing library for software-defined radios (SDR)"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="MIT"
homepage="http://liquidsdr.org/"
distfiles="https://github.com/jgaeddert/liquid-dsp/archive/v${version}.tar.gz"
checksum=e3f66ce72a3b5d74eea5ccffb049c62c422c91b0ab92d6dbbef21af3c3bfec73
case "$XBPS_TARGET_MACHINE" in
i686*) configure_args+="--exec-prefix=" ;;
esac
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE
}
liquid-dsp-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}