mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
coreutils: bootstrap=yes; replaces chroot-coreutils.
This commit is contained in:
parent
39004ace37
commit
789133ebdc
1 changed files with 19 additions and 15 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'coreutils'
|
# Template file for 'coreutils'
|
||||||
pkgname=coreutils
|
pkgname=coreutils
|
||||||
version=8.23
|
version=8.23
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="perl"
|
bootstrap=yes
|
||||||
makedepends="gmp-devel acl-devel libcap-devel"
|
makedepends="gmp-devel acl-devel libcap-devel"
|
||||||
depends="coreutils-doc-${version}_${revision}"
|
depends="coreutils-doc-${version}_${revision}"
|
||||||
conflicts="chroot-coreutils>=0 procps-ng<3.3.5_3"
|
replaces="chroot-coreutils>=0"
|
||||||
short_desc="The GNU core utilities"
|
short_desc="The GNU core utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.gnu.org/software/coreutils"
|
homepage="http://www.gnu.org/software/coreutils"
|
||||||
|
@ -13,6 +13,14 @@ license="GPL-3"
|
||||||
distfiles="http://ftp.gnu.org/gnu/coreutils/${pkgname}-${version}.tar.xz"
|
distfiles="http://ftp.gnu.org/gnu/coreutils/${pkgname}-${version}.tar.xz"
|
||||||
checksum=ec43ca5bcfc62242accb46b7f121f6b684ee21ecd7d075059bf650ff9e37b82d
|
checksum=ec43ca5bcfc62242accb46b7f121f6b684ee21ecd7d075059bf650ff9e37b82d
|
||||||
|
|
||||||
|
if [ "$CHROOT_READY" ]; then
|
||||||
|
hostmakedepends="perl"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
subpackages="coreutils-doc"
|
||||||
|
fi
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
configure_args+=" fu_cv_sys_stat_statfs2_bsize=yes
|
configure_args+=" fu_cv_sys_stat_statfs2_bsize=yes
|
||||||
|
@ -28,7 +36,6 @@ do_configure() {
|
||||||
--enable-no-install-program=kill,uptime \
|
--enable-no-install-program=kill,uptime \
|
||||||
--disable-rpath
|
--disable-rpath
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
cp Makefile Makefile.orig
|
cp Makefile Makefile.orig
|
||||||
|
@ -46,7 +53,6 @@ do_build() {
|
||||||
fi
|
fi
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
|
|
||||||
|
@ -55,7 +61,6 @@ do_install() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
|
||||||
coreutils-doc_package() {
|
coreutils-doc_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
short_desc+=" - documentation files"
|
short_desc+=" - documentation files"
|
||||||
|
@ -65,4 +70,3 @@ if [ -z "$CROSS_BUILD" ]; then
|
||||||
vmove usr/share/man
|
vmove usr/share/man
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fi
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue