diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d89ed67d9b51 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = liquid-dsp + pkgdesc = A Software-Defined Radio Digital Signal Processing Library + pkgver = 1.3.1 + pkgrel = 1 + url = http://liquidsdr.org/ + arch = x86_64 + arch = armv6h + arch = armv7h + arch = aarch64 + license = MIT + optdepends = fftw: liquid will take advantage if it is available + conflicts = liquid-dsp-git + source = http://liquidsdr.org/downloads/liquid-dsp-1.3.1.tar.gz + sha256sums = e3f66ce72a3b5d74eea5ccffb049c62c422c91b0ab92d6dbbef21af3c3bfec73 + +pkgname = liquid-dsp + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d88b3f28ae8c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: PointerK <ws00298046@163.com> +pkgname=liquid-dsp +pkgver=1.3.1 +pkgrel=1 +pkgdesc="A Software-Defined Radio Digital Signal Processing Library" +arch=('x86_64' + 'armv6h' + 'armv7h' + 'aarch64') +url="http://liquidsdr.org/" +license=('MIT') +optdepends=('fftw: liquid will take advantage if it is available') +conflicts=('liquid-dsp-git') +source=("http://liquidsdr.org/downloads/liquid-dsp-1.3.1.tar.gz") +sha256sums=("e3f66ce72a3b5d74eea5ccffb049c62c422c91b0ab92d6dbbef21af3c3bfec73") + +build() { + cd "${srcdir}/$pkgname-$pkgver" + ./bootstrap.sh + ./configure --prefix=/usr + make +} + +check() { + cd "$pkgname-$pkgver" + make -k check +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} + |