void-packages/srcpkgs/lxc/template

45 lines
1.1 KiB
Text
Raw Normal View History

2011-02-09 18:27:28 +00:00
# Template file for 'lxc'
2014-01-16 16:10:26 +00:00
_desc="Linux Containers"
2011-02-09 18:27:28 +00:00
pkgname=lxc
2014-01-16 16:10:26 +00:00
version=0.9.0
2014-01-16 16:28:34 +00:00
revision=2
2014-01-16 16:10:26 +00:00
conf_files="/etc/lxc/default.conf"
build_style=gnu-configure
2014-01-16 16:28:34 +00:00
configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none
2014-01-16 16:10:26 +00:00
--with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log"
2014-01-16 16:28:34 +00:00
hostmakedepends="pkg-config docbook2x"
2014-01-16 16:10:26 +00:00
makedepends="libcap-devel libseccomp-devel"
short_desc="${_desc} - utilities"
2011-02-09 18:27:28 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
2014-01-16 16:10:26 +00:00
homepage="http://linuxcontainers.org"
2012-07-02 13:00:36 +00:00
license="LGPL-2.1"
2014-01-16 16:10:26 +00:00
distfiles="http://linuxcontainers.org/downloads/lxc-${version}.tar.gz"
checksum=1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b654120
2011-02-09 18:27:28 +00:00
2014-01-16 16:10:26 +00:00
make_dirs="
/var/lib/lxc 0755 root root
/var/lxc/containers 0755 root root
/var/lxc/log 0755 root root"
2014-01-16 16:28:34 +00:00
pre_configure() {
sed -e 's,docbook2x-man,docbook2man,g' -i configure
}
liblxc_package() {
2014-01-16 16:10:26 +00:00
short_desc="${_desc} - shared library"
pkg_install() {
2014-01-16 16:10:26 +00:00
vmove "usr/lib/*.so.*"
}
}
lxc-devel_package() {
2014-01-16 16:10:26 +00:00
depends="libcap-devel liblxc>=${version}_${revision}"
short_desc="${_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-01-16 16:10:26 +00:00
vmove "usr/lib/*.so"
}
}