wok-6.x diff lxc/receipt @ rev 25192
updated python-formencode (1.2.2 -> 2.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:37:28 2022 +0100 (2022-07-13) |
parents | 34e801e0eb52 |
children |
line diff
1.1 --- a/lxc/receipt Sat Feb 19 14:19:02 2022 +0000 1.2 +++ b/lxc/receipt Wed Jul 13 10:37:28 2022 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lxc" 1.7 -VERSION="3.2.1" 1.8 +VERSION="4.0.12" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Userspace control package for Linux Containers." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -11,7 +11,7 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WGET_URL="https://linuxcontainers.org/downloads/$PACKAGE/$TARBALL" 1.15 1.16 -DEPENDS="bridge-utils gcc83-lib-base gnutls iptables libcap linux-bridge 1.17 +DEPENDS="bridge-utils gcc83-lib-base gnutls iptables libcap linux-bridge 1.18 linux-netfilter perl util-linux-getopt" 1.19 BUILD_DEPENDS="gcc83 gnutls-dev libcap-dev util-linux-getopt" 1.20 1.21 @@ -34,28 +34,28 @@ 1.22 --libexec=/usr/lib/$PACKAGE \ 1.23 --localstatedir=/var \ 1.24 $CONFIGURE_ARGS && 1.25 - make -j 1 && 1.26 - make DESTDIR=$DESTDIR install 1.27 + make && 1.28 + make install DESTDIR=$DESTDIR 1.29 } 1.30 1.31 # Rules to gen a SliTaz package suitable for Tazpkg. 1.32 genpkg_rules() 1.33 { 1.34 mkdir -p $fs/usr/share 1.35 - mkdir -p $fs/var/lib/lxc 1.36 1.37 cp -a $install/usr/share/lxc $fs/usr/share 1.38 - cp -a $install/usr/bin $fs/usr 1.39 - cp -a $install/usr/lib $fs/usr 1.40 + 1.41 + cook_copy_folders bin 1.42 + cook_copy_folders lib 1.43 1.44 rm -rf $fs/usr/lib/pkgconfig 1.45 1.46 - cp -a $install/etc $fs 1.47 - cp -a $install/var $fs 1.48 + cook_copy_folders etc 1.49 + cook_copy_folders var 1.50 1.51 sed -i -e 's/^is_set(/zgrep() { zcat | grep "$@"; }\n\n&/' \ 1.52 -e 's/\(.*\$GREP .*\)\(\$CONFIG.*\)/\1< \2/' \ 1.53 - $fs/usr/bin/lxc-checkconfig 1.54 + $fs/usr/bin/lxc-checkconfig 1.55 chmod +x $fs/usr/bin/lxc-* 1.56 } 1.57