wok-current diff lxc/receipt @ rev 22020

updated terminator (0.96 -> 1.91)
author Hans-G?nter Theisgen
date Sun Oct 20 09:30:04 2019 +0100 (2019-10-20)
parents c44a7d2a11ed
children f4b38c321469
line diff
     1.1 --- a/lxc/receipt	Fri Feb 21 20:49:34 2014 +0000
     1.2 +++ b/lxc/receipt	Sun Oct 20 09:30:04 2019 +0100
     1.3 @@ -1,41 +1,51 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lxc"
     1.7 -VERSION="1.0.0"
     1.8 +VERSION="3.1.0"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Userspace control package for Linux Containers."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="LGPL2.1"
    1.13 +WEB_SITE="https://linuxcontainers.org/lxc/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://linuxcontainers.org/"
    1.17 -WGET_URL="${WEB_SITE}downloads/$TARBALL"
    1.18 +WGET_URL="https://linuxcontainers.org/downloads/$PACKAGE/$TARBALL"
    1.19  
    1.20 -DEPENDS="libcap perl util-linux-getopt linux-netfilter linux-bridge iptables bridge-utils"
    1.21 -BUILD_DEPENDS="libcap-dev util-linux-getopt"
    1.22 +DEPENDS="bridge-utils gnutls iptables libcap linux-bridge linux-netfilter \
    1.23 +	perl util-linux-getopt"
    1.24 +BUILD_DEPENDS="gcc83 gnutls-dev libcap-dev util-linux-getopt"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30 -	./configure --prefix=/usr --mandir=/usr/share/man \
    1.31 -		--sysconfdir=/etc \
    1.32 -		--libexec=/usr/lib/$PACKAGE \
    1.33 -		--localstatedir=/var \
    1.34 -	$CONFIGURE_ARGS &&
    1.35 -	make &&
    1.36 +	./configure				\
    1.37 +		CC=gcc-83			\
    1.38 +		CXX=g++-83			\
    1.39 +		--prefix=/usr			\
    1.40 +		--mandir=/usr/share/man		\
    1.41 +		--sysconfdir=/etc		\
    1.42 +		--libexec=/usr/lib/$PACKAGE	\
    1.43 +		--localstatedir=/var		\
    1.44 +		$CONFIGURE_ARGS &&
    1.45 +	make -j 1 &&
    1.46  	make DESTDIR=$DESTDIR install
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.   
    1.50  genpkg_rules()                                      
    1.51  {
    1.52 -	mkdir -p $fs/usr/share $fs/var/lib/lxc
    1.53 -	cp -a $install/usr/share/lxc $fs/usr/share
    1.54 -	cp -a $install/usr/bin $fs/usr
    1.55 -	cp -a $install/usr/lib $fs/usr
    1.56 +	mkdir -p $fs/usr/share
    1.57 +	mkdir -p $fs/var/lib/lxc
    1.58 +
    1.59 +	cp -a $install/usr/share/lxc	$fs/usr/share
    1.60 +	cp -a $install/usr/bin		$fs/usr
    1.61 +	cp -a $install/usr/lib		$fs/usr
    1.62 +
    1.63  	rm -rf $fs/usr/lib/pkgconfig
    1.64 -	cp -a $install/etc $fs
    1.65 -	cp -a $install/var $fs
    1.66 +
    1.67 +	cp -a $install/etc		$fs
    1.68 +	cp -a $install/var		$fs
    1.69 +
    1.70  	sed -i -e 's/^is_set(/zgrep() { zcat | grep "$@"; }\n\n&/' \
    1.71  		-e 's/\(.*\$GREP .*\)\(\$CONFIG.*\)/\1< \2/' \
    1.72  		$fs/usr/bin/lxc-checkconfig