-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathlksctp-tools.yaml
69 lines (58 loc) · 1.34 KB
/
lksctp-tools.yaml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package:
name: lksctp-tools
version: 1.0.19
epoch: 0
description: "The Linux SCTP helper library"
copyright:
- license: GPL-2.0-only AND LGPL-2.1-only
environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- libtool
- linux-headers
- m4
pipeline:
- uses: git-checkout
with:
repository: https://github.com/sctp/lksctp-tools
tag: v${{package.version}}
expected-commit: 05b50d379ff0037de4957bb2a1befcce88b70225
- runs: |
libtoolize --force --copy
aclocal
autoheader
automake --foreign --add-missing --copy
autoconf
- uses: autoconf/configure
with:
opts: |
--enable-shared \
--enable-static
- uses: autoconf/make
- uses: autoconf/make-install
- uses: strip
subpackages:
- name: libsctp-dev
pipeline:
- uses: split/dev
description: libsctp dev
- name: libsctp-doc
pipeline:
- uses: split/manpages
- uses: split/infodir
- name: libsctp
description: libsctp library
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/libsctp.so.* "${{targets.subpkgdir}}"/usr/lib/
update:
enabled: true
github:
use-tag: true
identifier: sctp/lksctp-tools
strip-prefix: lksctp-tools-