schroot: multiple additional tweaks (close #1135)
This commit is contained in:
parent
53a17fe8fa
commit
81d8e69e60
|
@ -1,12 +1,15 @@
|
||||||
# Template file for 'schroot'
|
# Template file for 'schroot'
|
||||||
pkgname=schroot
|
pkgname=schroot
|
||||||
version=1.6.10
|
version=1.6.10
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="
|
configure_args="
|
||||||
--enable-dchroot
|
--enable-dchroot
|
||||||
--enable-lvm-snapshot
|
--enable-lvm-snapshot
|
||||||
--enable-btrfs-snapshot
|
--enable-btrfs-snapshot
|
||||||
|
--enable-block-device
|
||||||
|
--enable-loopback
|
||||||
|
--enable-uuid
|
||||||
BTRFS=/usr/bin/btrfs
|
BTRFS=/usr/bin/btrfs
|
||||||
BTRFSCTL=/usr/bin/btrfsctl
|
BTRFSCTL=/usr/bin/btrfsctl
|
||||||
LVCREATE=/usr/sbin/lvcreate
|
LVCREATE=/usr/sbin/lvcreate
|
||||||
|
@ -48,17 +51,21 @@ make_dirs="
|
||||||
/var/lib/schroot/session 0755 root root
|
/var/lib/schroot/session 0755 root root
|
||||||
/var/lib/schroot/mount 0755 root root
|
/var/lib/schroot/mount 0755 root root
|
||||||
/etc/schroot/chroot.d 0755 root root"
|
/etc/schroot/chroot.d 0755 root root"
|
||||||
hostmakedepends="cmake doxygen btrfs-progs"
|
hostmakedepends="cmake pkg-config"
|
||||||
makedepends="boost-devel pam-devel lockdev-devel e2fsprogs-devel"
|
makedepends="boost-devel pam-devel lockdev-devel libuuid-devel e2fsprogs-devel"
|
||||||
short_desc="Allows users to execute commands in different chroots"
|
short_desc="Allows users to execute commands in different chroots"
|
||||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="https://wiki.debian.org/Schroot"
|
homepage="https://wiki.debian.org/Schroot"
|
||||||
distfiles="http://${DEBIAN_SITE}/main/s/${pkgname}/${pkgname}_${version}.orig.tar.xz"
|
distfiles="${DEBIAN_SITE}/main/s/${pkgname}/${pkgname}_${version}.orig.tar.xz"
|
||||||
checksum="3ce8dfd9cb97b099e4b6d4ccec421d6cc8c9ef84574681e928a12badb5643d0b"
|
checksum="3ce8dfd9cb97b099e4b6d4ccec421d6cc8c9ef84574681e928a12badb5643d0b"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vmkdir usr/share/bash-completion/completions
|
||||||
|
mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions
|
||||||
|
}
|
||||||
|
|
||||||
schroot-devel_package() {
|
schroot-devel_package() {
|
||||||
depends="schroot>=${version}_${revision}"
|
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
|
Loading…
Reference in New Issue