upnp-router-control: use spec deps

This commit is contained in:
Jack Nagel 2013-09-21 20:47:47 -05:00
parent 45b4b99605
commit 53fd7a71ab

View file

@ -4,7 +4,13 @@ class UpnpRouterControl < Formula
homepage 'https://launchpad.net/upnp-router-control'
url 'https://launchpad.net/upnp-router-control/trunk/0.2/+download/upnp-router-control-0.2.tar.gz'
sha1 '4d6b22430f784260fccb2f70c27d0a428b9a753a'
head 'bzr://lp:upnp-router-control'
head do
url 'bzr://lp:upnp-router-control'
depends_on :automake
depends_on :libtool
end
depends_on 'pkg-config' => :build
depends_on 'intltool' => :build
@ -15,11 +21,6 @@ class UpnpRouterControl < Formula
depends_on 'curl' => :optional
depends_on :x11
if build.head?
depends_on :automake
depends_on :libtool
end
def install
system "./autogen.sh" if build.head?