2015-03-13 01:13:25 +00:00
|
|
|
# Template file for 'schroot'
|
|
|
|
pkgname=schroot
|
|
|
|
version=1.6.10
|
2015-06-09 16:10:13 +00:00
|
|
|
revision=5
|
2015-03-13 01:13:25 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="
|
|
|
|
--enable-dchroot
|
|
|
|
--enable-lvm-snapshot
|
|
|
|
--enable-btrfs-snapshot
|
2015-03-16 06:04:16 +00:00
|
|
|
--enable-block-device
|
|
|
|
--enable-loopback
|
|
|
|
--enable-uuid
|
2015-03-13 01:13:25 +00:00
|
|
|
BTRFS=/usr/bin/btrfs
|
|
|
|
BTRFSCTL=/usr/bin/btrfsctl
|
|
|
|
LVCREATE=/usr/sbin/lvcreate
|
|
|
|
LVREMOVE=/usr/sbin/lvremove"
|
|
|
|
conf_files="
|
|
|
|
/etc/schroot/minimal/nssdatabases
|
|
|
|
/etc/schroot/minimal/fstab
|
|
|
|
/etc/schroot/minimal/copyfiles
|
|
|
|
/etc/schroot/buildd/nssdatabases
|
|
|
|
/etc/schroot/buildd/fstab
|
|
|
|
/etc/schroot/buildd/copyfiles
|
|
|
|
/etc/schroot/default/nssdatabases
|
|
|
|
/etc/schroot/default/fstab
|
|
|
|
/etc/schroot/default/copyfiles
|
|
|
|
/etc/schroot/schroot.conf
|
|
|
|
/etc/schroot/desktop/nssdatabases
|
|
|
|
/etc/schroot/desktop/fstab
|
|
|
|
/etc/schroot/desktop/copyfiles
|
|
|
|
/etc/schroot/sbuild/nssdatabases
|
|
|
|
/etc/schroot/sbuild/fstab
|
|
|
|
/etc/schroot/sbuild/copyfiles"
|
|
|
|
make_dirs="
|
|
|
|
/var/lib/schroot/unpack 0755 root root
|
|
|
|
/var/lib/schroot/union/underlay 0755 root root
|
|
|
|
/var/lib/schroot/union/overlay 0755 root root
|
|
|
|
/var/lib/schroot/session 0755 root root
|
|
|
|
/var/lib/schroot/mount 0755 root root
|
|
|
|
/etc/schroot/chroot.d 0755 root root"
|
2015-03-16 06:04:16 +00:00
|
|
|
hostmakedepends="cmake pkg-config"
|
|
|
|
makedepends="boost-devel pam-devel lockdev-devel libuuid-devel e2fsprogs-devel"
|
2015-03-13 01:13:25 +00:00
|
|
|
short_desc="Allows users to execute commands in different chroots"
|
|
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://wiki.debian.org/Schroot"
|
2015-03-16 06:04:16 +00:00
|
|
|
distfiles="${DEBIAN_SITE}/main/s/${pkgname}/${pkgname}_${version}.orig.tar.xz"
|
2015-03-13 01:13:25 +00:00
|
|
|
checksum="3ce8dfd9cb97b099e4b6d4ccec421d6cc8c9ef84574681e928a12badb5643d0b"
|
|
|
|
|
2015-03-16 06:04:16 +00:00
|
|
|
post_install() {
|
|
|
|
vmkdir usr/share/bash-completion/completions
|
|
|
|
mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions
|
|
|
|
}
|
|
|
|
|
2015-03-13 01:13:25 +00:00
|
|
|
schroot-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|