mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
lxc: move bash-completion files to the correct path.
This commit is contained in:
parent
4078cf0e15
commit
bc92c36bc1
1 changed files with 7 additions and 7 deletions
|
@ -3,8 +3,7 @@ _desc="Linux Containers"
|
||||||
|
|
||||||
pkgname=lxc
|
pkgname=lxc
|
||||||
version=1.0.5
|
version=1.0.5
|
||||||
revision=1
|
revision=2
|
||||||
conf_files="/etc/lxc/default.conf"
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none
|
configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none
|
||||||
--with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log"
|
--with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log"
|
||||||
|
@ -17,6 +16,7 @@ license="LGPL-2.1"
|
||||||
distfiles="http://linuxcontainers.org/downloads/lxc-${version}.tar.gz"
|
distfiles="http://linuxcontainers.org/downloads/lxc-${version}.tar.gz"
|
||||||
checksum=02ac82e69a76d424e5443b9c577e84a8eaafcebf17cfd865eedee147e8ef8844
|
checksum=02ac82e69a76d424e5443b9c577e84a8eaafcebf17cfd865eedee147e8ef8844
|
||||||
|
|
||||||
|
conf_files="/etc/lxc/default.conf"
|
||||||
make_dirs="
|
make_dirs="
|
||||||
/var/lib/lxc 0755 root root
|
/var/lib/lxc 0755 root root
|
||||||
/var/lxc/containers 0755 root root
|
/var/lxc/containers 0755 root root
|
||||||
|
@ -26,6 +26,11 @@ pre_configure() {
|
||||||
sed -e 's|"\\"-//Davenport//DTD DocBook V3.0//EN\\""|"\\"-//OASIS//DTD DocBook XML\\" \\"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\\""|' -i configure
|
sed -e 's|"\\"-//Davenport//DTD DocBook V3.0//EN\\""|"\\"-//OASIS//DTD DocBook XML\\" \\"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\\""|' -i configure
|
||||||
sed -e 's,docbook2x-man,docbook2man,g' -i configure
|
sed -e 's,docbook2x-man,docbook2man,g' -i configure
|
||||||
}
|
}
|
||||||
|
post_install() {
|
||||||
|
vinstall ${FILESDIR}/service 644 usr/lib/systemd/system lxc@.service
|
||||||
|
vmkdir usr/share/bash-completion/completions
|
||||||
|
mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions/
|
||||||
|
}
|
||||||
|
|
||||||
liblxc_package() {
|
liblxc_package() {
|
||||||
short_desc="${_desc} - shared library"
|
short_desc="${_desc} - shared library"
|
||||||
|
@ -33,7 +38,6 @@ liblxc_package() {
|
||||||
vmove "usr/lib/*.so.*"
|
vmove "usr/lib/*.so.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
lxc-devel_package() {
|
lxc-devel_package() {
|
||||||
depends="libcap-devel liblxc>=${version}_${revision}"
|
depends="libcap-devel liblxc>=${version}_${revision}"
|
||||||
short_desc="${_desc} - development files"
|
short_desc="${_desc} - development files"
|
||||||
|
@ -43,7 +47,3 @@ lxc-devel_package() {
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vinstall ${FILESDIR}/service 644 usr/lib/systemd/system lxc@.service
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue