aboutsummaryrefslogtreecommitdiff
path: root/xpa/xpa.ini
blob: 19799179a5507d5847fe79080337717f1f83d369 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[package]
name : xpa
version : {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git

[about]
home : https://github.com/ericmandel/${package:name}
license : MIT
summary : Provides seamless communication between many kinds of Unix programs

[source]
#fn : ${package:name}-${package:version}.tar.gz
#url : ${about:home}/${fn}
git_url : ${about:home}.git
git_tag : v2.1.17

[build]
number : {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}

[requirements]
build : 
    python

run : 
    python

[test]
imports : 
    #none
commands : 
    # Can't test -- All programs return non-zero on 'usage'.
    #xpaget -h
    #xpaset -h
    #xpainfo -h
    #xpaaccess -h

    # We will settle for this though:
    test -x `which xpaget`
    test -x `which xpaset`
    test -x `which xpainfo`
    test -x `which xpaaccess`

[cbc_build]
linux : 
    # ditch python connector library
    rm -rf python

    ./configure --prefix=$$PREFIX
    make -j$${CPU_COUNT}
    make install || exit 1
    
windows : 
    echo Nope
    exit 1