wok-next view liburcu/receipt @ rev 20486

outguess: fix install path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 10:46:52 2018 +0100 (2018-03-12)
parents
children d43bf7aae921
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 DEPENDS="liburcu pkg-config"
35 cp -a $install/usr/lib/*a $fs/usr/lib
36 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
37 cp -a $install/usr/include $fs/usr
38 ;;
39 esac
40 }