Skip to content

Commit 80d5d37

Browse files
mftsmxcl
authored andcommitted
+x.org/xaw
1 parent e69a66d commit 80d5d37

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

projects/x.org/xaw/package.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
distributable:
2+
url: https://www.x.org/archive/individual/lib/libXaw-{{version}}.tar.xz
3+
strip-components: 1
4+
5+
versions:
6+
- 1.0.15
7+
8+
dependencies:
9+
x.org/x11: '*'
10+
x.org/exts: '*'
11+
x.org/xmu: '*'
12+
x.org/xt: '*'
13+
x.org/xpm: '*'
14+
15+
build:
16+
dependencies:
17+
tea.xyz/gx/cc: c99
18+
tea.xyz/gx/make: '*'
19+
freedesktop.org/pkg-config: ~0.29
20+
script: |
21+
./configure \
22+
--prefix="{{prefix}}" \
23+
--sysconfdir="$SHELF"/etc \
24+
--localstatedir="$SHELF"/var
25+
make --jobs {{ hw.concurrency }} install
26+
env:
27+
SHELF: ${{tea.prefix}}/x.org
28+
29+
test:
30+
dependencies:
31+
tea.xyz/gx/cc: c99
32+
script: |
33+
mv $FIXTURE test.c
34+
cc test.c
35+
./a.out
36+
fixture: |
37+
#include "X11/Xaw/Text.h"
38+
int main(int argc, char* argv[]) {
39+
XawTextScrollMode mode;
40+
return 0;
41+
}

0 commit comments

Comments
 (0)