wok-6.x rev 15082

lxc: typo in genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 18:19:59 2013 +0000 (2013-08-13)
parents b887898c0199
children c971db4d1bba
files lxc-dev/receipt lxc/receipt
line diff
     1.1 --- a/lxc-dev/receipt	Tue Aug 13 18:00:11 2013 +0000
     1.2 +++ b/lxc-dev/receipt	Tue Aug 13 18:19:59 2013 +0000
     1.3 @@ -5,6 +5,7 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Userspace control package for Linux Containers development files."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="LGPL2.1"
     1.8  WEB_SITE="http://lxc.sourceforge.net/"
     1.9  WANTED="lxc"
    1.10  
    1.11 @@ -14,6 +15,6 @@
    1.12  genpkg_rules()                                      
    1.13  {
    1.14  	mkdir -p $fs/usr/share
    1.15 -	cp -a $_pkg/usr/include $fs/usr
    1.16 -	cp -a $_pkg/usr/share/pkgconfig $fs/usr/share
    1.17 +	cp -a $install/usr/include $fs/usr
    1.18 +	cp -a $install/usr/share/pkgconfig $fs/usr/share
    1.19  }
     2.1 --- a/lxc/receipt	Tue Aug 13 18:00:11 2013 +0000
     2.2 +++ b/lxc/receipt	Tue Aug 13 18:19:59 2013 +0000
     2.3 @@ -5,6 +5,7 @@
     2.4  CATEGORY="system-tools"
     2.5  SHORT_DESC="Userspace control package for Linux Containers."
     2.6  MAINTAINER="pascal.bellard@slitaz.org"
     2.7 +LICENSE="LGPL2.1"
     2.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.9  WEB_SITE="http://lxc.sourceforge.net/"
    2.10  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.11 @@ -27,12 +28,12 @@
    2.12  genpkg_rules()                                      
    2.13  {
    2.14  	mkdir -p $fs/usr $fs/var/lib/lxc
    2.15 -	cp -a $_pkg/usr/bin $fs/usr
    2.16 -	cp -a $_pkg/usr/lib $fs/usr
    2.17 +	cp -a $install/usr/bin $fs/usr
    2.18 +	cp -a $install/usr/lib $fs/usr
    2.19  	sed -i 's|/usr/var/lib/lxc|/var/lib/lxc|;s|/bin/bash|/bin/ash|' \
    2.20  		$fs/usr/bin/lxc-version $fs/usr/bin/lxc-netstat \
    2.21  		$fs/usr/bin/lxc-destroy $fs/usr/bin/lxc-create \
    2.22 -		$fs/usr/bin/lxc-setcaps $fs/usr/bin/lxc-setuid \
    2.23 +		$fs/usr/bin/lxc-setcap $fs/usr/bin/lxc-setuid \
    2.24  		$fs/usr/bin/lxc-ls
    2.25  	sed -i -e 's/^is_set(/zgrep() { zcat | grep "$@"; }\n\n&/' \
    2.26  		-e 's/\(.*\$GREP .*\)\(\$CONFIG.*\)/\1< \2/' \