void-packages/srcpkgs/lxc/template
2014-01-16 17:28:34 +01:00

44 lines
1.1 KiB
Text

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