wok-next diff liburcu/receipt @ rev 20557
Remove *.la files.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 07 16:01:14 2018 +0300 (2018-04-07) |
parents | d43bf7aae921 |
children | 5841522533ec |
line diff
1.1 --- a/liburcu/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/liburcu/receipt Sat Apr 07 16:01:14 2018 +0300 1.3 @@ -1,39 +1,28 @@ 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 +SHORT_DESC="Userspace RCU (read-copy-update) library" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="LGPL2.1" 1.14 +WEB_SITE="http://liburcu.org/" 1.15 + 1.16 +SOURCE="userspace-rcu" 1.17 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.18 -WEB_SITE="http://liburcu.org/" 1.19 WGET_URL="http://www.lttng.org/files/urcu/$TARBALL" 1.20 -SPLIT="liburcu liburcu-dev" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - ./configure \ 1.26 - --prefix=/usr \ 1.27 - $CONFIGURE_ARGS 1.28 +SPLIT="liburcu-dev" 1.29 + 1.30 +compile_rules() { 1.31 + ./configure $CONFIGURE_ARGS 1.32 make && 1.33 make DESTDIR=$DESTDIR install 1.34 } 1.35 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 - mkdir -p $fs/usr/lib 1.40 +genpkg_rules() { 1.41 case $PACKAGE in 1.42 - liburcu) 1.43 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 - ;; 1.45 - liburcu-dev) 1.46 - cp -a $install/usr/lib/*a $fs/usr/lib 1.47 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.48 - cp -a $install/usr/include $fs/usr 1.49 - ;; 1.50 + liburcu) copy @std;; 1.51 + *-dev) copy @dev;; 1.52 esac 1.53 }