wok-next view liburcu/receipt @ rev 20513
A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 15:58:17 2018 +0200 (2018-03-21) |
parents | 696326359d1c |
children | 9e5dca6702bf |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="liburcu"
4 SOURCE="userspace-rcu"
5 VERSION="0.10.0"
6 CATEGORY="system-tools"
7 SHORT_DESC="Userspace RCU (read-copy-update) library."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://liburcu.org/"
12 WGET_URL="http://www.lttng.org/files/urcu/$TARBALL"
13 SPLIT="liburcu liburcu-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 case $PACKAGE in
30 liburcu)
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 ;;
33 liburcu-dev)
34 cp -a $install/usr/lib/*a $fs/usr/lib
35 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
36 cp -a $install/usr/include $fs/usr
37 ;;
38 esac
39 }