Skip to content

Commit ee5f1e5

Browse files
committed
transset: new formula
1 parent eeb2dbf commit ee5f1e5

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

‎Formula/t/transset.rb‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
class Transset < Formula
2+
desc "X.Org Applications: transset"
3+
homepage "https://www.x.org/"
4+
### http://www.linuxfromscratch.org/blfs/view/svn/x/x7app.html
5+
url "https://www.x.org/pub/individual/app/transset-1.0.4.tar.xz"
6+
sha256 "81a9ab74af137733aa8cb6a37f8292948526fe7ef06b859fc0ff272c437c0b38"
7+
license "MIT"
8+
9+
depends_on "pkg-config" => :build
10+
depends_on "util-macros" => :build
11+
depends_on "xorgproto" => :build
12+
depends_on "libx11"
13+
depends_on "libxcomposite"
14+
15+
def install
16+
args = %W[
17+
--prefix=#{prefix}
18+
--sysconfdir=#{etc}
19+
--localstatedir=#{var}
20+
--disable-dependency-tracking
21+
--disable-silent-rules
22+
]
23+
24+
system "./configure", *args
25+
system "make"
26+
system "make", "install"
27+
end
28+
29+
test do
30+
assert_predicate bin/"transset", :executable?
31+
end
32+
end

0 commit comments

Comments
 (0)