mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+x.org/xtrans
This commit is contained in:
parent
38b45f373b
commit
db62b7c7c9
40
projects/x.org/xtrans/package.yml
Normal file
40
projects/x.org/xtrans/package.yml
Normal file
|
@ -0,0 +1,40 @@
|
|||
distributable:
|
||||
url: https://www.x.org/archive/individual/lib/xtrans-1.4.0.tar.bz2
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
- 1.4.0
|
||||
|
||||
dependencies:
|
||||
x.org/protocol: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
x.org/util-macros: '*'
|
||||
freedesktop.org/pkg-config: ~0.29
|
||||
script: |
|
||||
./configure \
|
||||
--prefix="{{prefix}}" \
|
||||
--sysconfdir="$SHELF"/etc \
|
||||
--localstatedir="$SHELF"/var \
|
||||
--disable-debug \
|
||||
--enable-docs=no
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
SHELF: ${{tea.prefix}}/x.org
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
mv $FIXTURE test.c
|
||||
cc test.c
|
||||
./a.out
|
||||
fixture: |
|
||||
#include "X11/Xtrans/Xtrans.h"
|
||||
int main(int argc, char* argv[]) {
|
||||
Xtransaddr addr;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue