wok-next diff liburcu/receipt @ rev 20497
Up xorg-xf86-input-libinput, xorg-xf86-video-amdgpu, xorg-xf86-video-omap, xorg-xf86-video-vmware, znc
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 14 17:22:06 2018 +0200 (2018-03-14) |
parents | |
children | d43bf7aae921 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/liburcu/receipt Wed Mar 14 17:22:06 2018 +0200 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="liburcu" 1.7 +SOURCE="userspace-rcu" 1.8 +VERSION="0.10.0" 1.9 +CATEGORY="system-tools" 1.10 +SHORT_DESC="Userspace RCU (read-copy-update) library." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="LGPL2.1" 1.13 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://liburcu.org/" 1.15 +WGET_URL="http://www.lttng.org/files/urcu/$TARBALL" 1.16 +SPLIT="liburcu liburcu-dev" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + ./configure \ 1.22 + --prefix=/usr \ 1.23 + $CONFIGURE_ARGS 1.24 + make && 1.25 + make DESTDIR=$DESTDIR install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/lib 1.32 + case $PACKAGE in 1.33 + liburcu) 1.34 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.35 + ;; 1.36 + liburcu-dev) 1.37 + DEPENDS="liburcu pkg-config" 1.38 + cp -a $install/usr/lib/*a $fs/usr/lib 1.39 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.40 + cp -a $install/usr/include $fs/usr 1.41 + ;; 1.42 + esac 1.43 +}