blob: 6f73da67b57deaec873d85e01527262c8131f364 (
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.12.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
}
|