From db6ee5b101972a55104937415ddd7df01b5dfa53 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 28 Feb 2012 19:10:35 +0100 Subject: [PATCH] chroot-*: these pkgs provide virtual packages. --- srcpkgs/chroot-bash/template | 1 + srcpkgs/chroot-binutils/template | 1 + srcpkgs/chroot-coreutils/template | 1 + srcpkgs/chroot-diffutils/template | 1 + srcpkgs/chroot-fakeroot/template | 2 ++ srcpkgs/chroot-file/template | 1 + srcpkgs/chroot-findutils/template | 1 + srcpkgs/chroot-gawk/template | 1 + srcpkgs/chroot-gettext/template | 1 + srcpkgs/chroot-gnu-getopt/template | 1 + srcpkgs/chroot-grep/template | 2 ++ srcpkgs/chroot-gzip/template | 1 + srcpkgs/chroot-m4/template | 1 + srcpkgs/chroot-make/template | 1 + srcpkgs/chroot-patch/template | 1 + srcpkgs/chroot-sed/template | 1 + srcpkgs/chroot-tar/template | 1 + srcpkgs/chroot-texinfo/template | 1 + srcpkgs/chroot-xz/template | 1 + 19 files changed, 21 insertions(+) diff --git a/srcpkgs/chroot-bash/template b/srcpkgs/chroot-bash/template index 363fc3ff14..9f54f9b3ef 100644 --- a/srcpkgs/chroot-bash/template +++ b/srcpkgs/chroot-bash/template @@ -27,6 +27,7 @@ long_desc=" broken_as_needed=yes bootstrap=yes +provides="bash-${version}" conflicts="bash>=0" post_install() { diff --git a/srcpkgs/chroot-binutils/template b/srcpkgs/chroot-binutils/template index 1191fd9c33..80060bc449 100644 --- a/srcpkgs/chroot-binutils/template +++ b/srcpkgs/chroot-binutils/template @@ -28,6 +28,7 @@ long_desc=" This package is only meant to be used by xbps-src, don't install it manually." bootstrap=yes +provides="binutils-${version}" conflicts="binutils>=0" pre_install() { diff --git a/srcpkgs/chroot-coreutils/template b/srcpkgs/chroot-coreutils/template index 15edd300a3..4fd7aa41c3 100644 --- a/srcpkgs/chroot-coreutils/template +++ b/srcpkgs/chroot-coreutils/template @@ -23,6 +23,7 @@ long_desc=" bootstrap=yes conflicts="coreutils>=0" +provides="coreutils-${version}" pre_configure() { sed -i 's/^\(SUBDIRS =\).*/\1 lib src/g' Makefile.in diff --git a/srcpkgs/chroot-diffutils/template b/srcpkgs/chroot-diffutils/template index 67e384ba14..0bc75a9217 100644 --- a/srcpkgs/chroot-diffutils/template +++ b/srcpkgs/chroot-diffutils/template @@ -19,6 +19,7 @@ long_desc=" bootstrap=yes conflicts="diffutils>=0" +provides="diffutils-${version}" post_install() { rm -rf ${DESTDIR}/usr/share diff --git a/srcpkgs/chroot-fakeroot/template b/srcpkgs/chroot-fakeroot/template index 79d5f32611..bdf3ac7f1c 100644 --- a/srcpkgs/chroot-fakeroot/template +++ b/srcpkgs/chroot-fakeroot/template @@ -19,6 +19,8 @@ long_desc=" bootstrap=yes conflicts="fakeroot>=0" +provides="fakeroot-${version}" + Add_dependency full chroot-gnu-getopt post_install() { diff --git a/srcpkgs/chroot-file/template b/srcpkgs/chroot-file/template index c45c5c082c..b80151b96a 100644 --- a/srcpkgs/chroot-file/template +++ b/srcpkgs/chroot-file/template @@ -20,6 +20,7 @@ Add_dependency build zlib-devel bootstrap=yes conflicts="file>=0" +provides="file-${version}" post_install() { rm -rf ${DESTDIR}/usr/share/man ${DESTDIR}/usr/lib ${DESTDIR}/usr/include diff --git a/srcpkgs/chroot-findutils/template b/srcpkgs/chroot-findutils/template index d8cebe7555..bc060db8fd 100644 --- a/srcpkgs/chroot-findutils/template +++ b/srcpkgs/chroot-findutils/template @@ -20,6 +20,7 @@ long_desc=" bootstrap=yes conflicts="findutils>=0" +provides="findutils-${version}" post_install() { for f in locate oldfind updatedb; do diff --git a/srcpkgs/chroot-gawk/template b/srcpkgs/chroot-gawk/template index f5518c6d3d..bc44ae13c6 100644 --- a/srcpkgs/chroot-gawk/template +++ b/srcpkgs/chroot-gawk/template @@ -17,6 +17,7 @@ long_desc=" bootstrap=yes conflicts="gawk>=0" +provides="gawk-${version}" post_install() { rm -rf ${DESTDIR}/usr/share diff --git a/srcpkgs/chroot-gettext/template b/srcpkgs/chroot-gettext/template index 5771bfa54d..46c97998a4 100644 --- a/srcpkgs/chroot-gettext/template +++ b/srcpkgs/chroot-gettext/template @@ -16,6 +16,7 @@ long_desc=" bootstrap=yes conflicts="gettext>=0" +provides="gettext-${version}" do_configure() { ./configure --prefix=/usr --disable-shared diff --git a/srcpkgs/chroot-gnu-getopt/template b/srcpkgs/chroot-gnu-getopt/template index 7da9499ce4..f8bcd6c9de 100644 --- a/srcpkgs/chroot-gnu-getopt/template +++ b/srcpkgs/chroot-gnu-getopt/template @@ -14,6 +14,7 @@ long_desc=" This package is only meant to be used by xbps-src, don't install it manually." conflicts="util-linux>=0" +provides="util-linux-${version}" do_configure() { ./configure ${CONFIGURE_SHARED_ARGS} --without-ncurses diff --git a/srcpkgs/chroot-grep/template b/srcpkgs/chroot-grep/template index bf19ab1178..6cb4f7ecfa 100644 --- a/srcpkgs/chroot-grep/template +++ b/srcpkgs/chroot-grep/template @@ -22,6 +22,8 @@ long_desc=" don't have to install it manually." bootstrap=yes +conflicts="grep>=0" +provides="grep-${version}" post_install() { rm -rf ${DESTDIR}/usr/share/info ${DESTDIR}/usr/share/man diff --git a/srcpkgs/chroot-gzip/template b/srcpkgs/chroot-gzip/template index 8781c301aa..125b77d806 100644 --- a/srcpkgs/chroot-gzip/template +++ b/srcpkgs/chroot-gzip/template @@ -17,6 +17,7 @@ long_desc=" bootstrap=yes conflicts="gzip>=0" +provides="gzip-${version}" post_install() { rm -rf ${DESTDIR}/usr/share diff --git a/srcpkgs/chroot-m4/template b/srcpkgs/chroot-m4/template index b5def7c50a..f401a4e2d7 100644 --- a/srcpkgs/chroot-m4/template +++ b/srcpkgs/chroot-m4/template @@ -20,6 +20,7 @@ long_desc=" bootstrap=yes conflicts="m4>=0" +provides="m4-${version}" post_install() { rm -rf ${DESTDIR}/usr/share diff --git a/srcpkgs/chroot-make/template b/srcpkgs/chroot-make/template index 8a5d25125d..e9f9506772 100644 --- a/srcpkgs/chroot-make/template +++ b/srcpkgs/chroot-make/template @@ -17,6 +17,7 @@ long_desc=" bootstrap=yes conflicts="make>=0" +provides="make-${version}" post_install() { rm -rf ${DESTDIR}/usr/share diff --git a/srcpkgs/chroot-patch/template b/srcpkgs/chroot-patch/template index 3df9dbc15c..66fe0bfaf6 100644 --- a/srcpkgs/chroot-patch/template +++ b/srcpkgs/chroot-patch/template @@ -16,6 +16,7 @@ long_desc=" bootstrap=yes conflicts="patch>=0" +provides="patch-${version}" post_install() { rm -rf ${DESTDIR}/usr/share diff --git a/srcpkgs/chroot-sed/template b/srcpkgs/chroot-sed/template index c2d601a013..ff79534264 100644 --- a/srcpkgs/chroot-sed/template +++ b/srcpkgs/chroot-sed/template @@ -16,6 +16,7 @@ long_desc=" bootstrap=yes conflicts="sed>=0" +provides="sed-${version}" post_install() { rm -rf ${DESTDIR}/usr/share diff --git a/srcpkgs/chroot-tar/template b/srcpkgs/chroot-tar/template index 98919a7d9d..e7a8d3a5f6 100644 --- a/srcpkgs/chroot-tar/template +++ b/srcpkgs/chroot-tar/template @@ -18,6 +18,7 @@ long_desc=" bootstrap=yes conflicts="tar>=0" +provides="tar-${version}" post_install() { rm -rf ${DESTDIR}/usr/share ${DESTDIR}/usr/libexec diff --git a/srcpkgs/chroot-texinfo/template b/srcpkgs/chroot-texinfo/template index dfa46dc1bc..bab5833280 100644 --- a/srcpkgs/chroot-texinfo/template +++ b/srcpkgs/chroot-texinfo/template @@ -19,6 +19,7 @@ long_desc=" bootstrap=yes conflicts="texinfo>=0" +provides="texinfo-${version}" post_install() { rm -f ${DESTDIR}/usr/bin/info diff --git a/srcpkgs/chroot-xz/template b/srcpkgs/chroot-xz/template index 34a8f90766..0a089dc55b 100644 --- a/srcpkgs/chroot-xz/template +++ b/srcpkgs/chroot-xz/template @@ -27,6 +27,7 @@ long_desc=" bootstrap=yes conflicts="xz>=0" +provides="xz-${version}" post_install() { rm -rf ${DESTDIR}/usr/lib ${DESTDIR}/usr/share ${DESTDIR}/usr/include