blob: a76009d1b6a9dfa94693a4c5970201fd1ba10a9b (
plain)
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
|
#!/bin/sh
NAME="userspace-rcu"
DESC="Userspace RCU (read-copy-update) library"
MAKEDEPS="bash perl"
PKG_VER=0.13.2
SOURCE="https://lttng.org/files/urcu/userspace-rcu-$PKG_VER.tar.bz2"
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make V=1
}
check() {
make check
}
package() {
make DESTDIR="$PKG_DEST" install
install -Dm644 LICENSE "$PKG_DEST"/usr/share/licenses/userspace-rcu/LICENSE
}
|