wok-next rev 20432
Add liburcu
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 05 10:24:55 2018 +0100 (2018-02-05) |
parents | 9d4b5d7ad98d |
children | ae25e1ecf064 |
files | glusterfs/receipt liburcu/receipt |
line diff
1.1 --- a/glusterfs/receipt Thu Jan 25 03:35:43 2018 +0200 1.2 +++ b/glusterfs/receipt Mon Feb 05 10:24:55 2018 +0100 1.3 @@ -1,17 +1,18 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="glusterfs" 1.7 -VERSION="3.3.1" 1.8 +VERSION="3.12.5" 1.9 CATEGORY="misc" 1.10 SHORT_DESC="Distributed file system." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2 LGPL3" 1.13 WEB_SITE="http://www.gluster.org/" 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 -WGET_URL="http://bits.gluster.com/pub/gluster/glusterfs/src/$TARBALL" 1.16 +WGET_URL="https://download.gluster.org/pub/gluster/glusterfs/${VERSION%.*}/$VERSION/$TARBALL" 1.17 1.18 DEPENDS="python readline mpc-library elfutils openssl" 1.19 -BUILD_DEPENDS="flex python readline-dev mpc-library elfutils openssl-dev" 1.20 +BUILD_DEPENDS="flex python readline-dev mpc-library elfutils openssl-dev \ 1.21 +acl-dev sqlite-dev liburcu-dev" 1.22 1.23 # Rules to configure and make the package. 1.24 compile_rules()
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/liburcu/receipt Mon Feb 05 10:24:55 2018 +0100 2.3 @@ -0,0 +1,40 @@ 2.4 +# SliTaz package receipt v2. 2.5 + 2.6 +PACKAGE="liburcu" 2.7 +SOURCE="userspace-rcu" 2.8 +VERSION="0.10.0" 2.9 +CATEGORY="system-tools" 2.10 +SHORT_DESC="Userspace RCU (read-copy-update) library." 2.11 +MAINTAINER="pascal.bellard@slitaz.org" 2.12 +LICENSE="LGPL2.1" 2.13 +TARBALL="$SOURCE-$VERSION.tar.bz2" 2.14 +WEB_SITE="http://liburcu.org/" 2.15 +WGET_URL="http://www.lttng.org/files/urcu/$TARBALL" 2.16 +SPLIT="liburcu liburcu-dev" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + ./configure \ 2.22 + --prefix=/usr \ 2.23 + $CONFIGURE_ARGS 2.24 + make && 2.25 + make DESTDIR=$DESTDIR install 2.26 +} 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + mkdir -p $fs/usr/lib 2.32 + case $PACKAGE in 2.33 + liburcu) 2.34 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.35 + ;; 2.36 + liburcu-dev) 2.37 + DEPENDS="liburcu pkg-config" 2.38 + cp -a $install/usr/lib/*a $fs/usr/lib 2.39 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 2.40 + cp -a $install/usr/include $fs/usr 2.41 + ;; 2.42 + esac 2.43 +}