File: iptux.rb

package info (click to toggle)
iptux 0.7.6-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,536 kB
  • sloc: cpp: 12,245; ruby: 20; sh: 6; makefile: 3
file content (23 lines) | stat: -rw-r--r-- 602 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'formula'

class Iptux < Formula
  homepage 'https://github.com/iptux-src/iptux'
  url 'https://github.com/iptux-src/iptux/archive/v0.7.4.tar.gz'
  sha256 'cb208c54f9e888b40aed6c9590dcf25bfdcceb1a5a964b57220ede0fa816f22a'

  depends_on :x11 => :optional
  depends_on 'gettext'
  depends_on 'gtk+'
  depends_on 'jsoncpp' 
  depends_on 'gstreamer'
  depends_on 'pkg-config' => :build
  depends_on 'cmake' => :build
  unless OS.mac?
    depends_on "linuxbrew/xorg/xorg"
  end  

  def install
    system "cmake", "-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}", "."
    system "make", "install"
  end
end