--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools multilib
+
+DESCRIPTION="digital signal processing library for software-defined radios"
+HOMEPAGE="http://liquidsdr.org"
+SRC_URI="https://github.com/jgaeddert/liquid-dsp/archive/v1.3.0.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+DEPEND="sci-libs/fftw:3.0="
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ eapply_user
+ eautoreconf
+}
+
+src_configure() {
+ #without this rather odd looking bit, it installs libraries into /usr/usr/$(get_libdir)
+ #what is super special is that if exec-prefix is unset, libdir is lib64...
+ #but if exec-prefix is default then libdir ends up as /usr/lib64 in makefile...
+ econf --exec-prefix="" --libdir="/usr/$(get_libdir)"
+}
+
+src_install() {
+ default
+ ! use static-libs && rm "${ED}"/usr/"$(get_libdir)"/libliquid.a
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>zerochaos@gentoo.org</email>
+<name>Rick Farina</name>
+</maintainer>
+<maintainer type="project">
+<email>radio@gentoo.org</email>
+<name>Radio</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+<upstream>
+ <remote-id type="github">jgaeddert/liquid-dsp</remote-id>
+</upstream>
+</pkgmetadata>