chroot-distcc: make this build with musl.
This commit is contained in:
parent
f5286e9b7a
commit
b9816c6e07
1 changed files with 7 additions and 14 deletions
|
@ -1,9 +1,13 @@
|
|||
# Template file for 'chroot-distcc'
|
||||
pkgname=chroot-distcc
|
||||
version=3.2rc1
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="distcc-${version}"
|
||||
bootstrap=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-included-popt --without-avahi --without-gnome
|
||||
--without-gtk --disable-Werror ac_cv_path_PYTHON=/bin/false"
|
||||
make_install_target="install-programs"
|
||||
conflicts="distcc>=0"
|
||||
short_desc="Distributed compilation for faster C/C++ builds -- for xbps-src use"
|
||||
maintainer="pancake <pancake@nopcode.org>"
|
||||
|
@ -12,22 +16,11 @@ license="GPL-2"
|
|||
distfiles="http://distcc.googlecode.com/files/distcc-${version}.tar.bz2"
|
||||
checksum=311671e844625d7fdb18dd3d096cd855751cfe8de13827682bcb7beff9133b30
|
||||
|
||||
do_configure() {
|
||||
pre_configure() {
|
||||
sed -i -e 's|^\(all: $(bin_PROGRAMS)\) pump include-server|\1|g' Makefile.in
|
||||
|
||||
./configure ${configure_args} --with-included-popt \
|
||||
--without-avahi --without-gnome \
|
||||
--without-gtk --disable-Werror \
|
||||
ac_cv_path_PYTHON=/bin/false
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make ${make_build_args}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make DESTDIR=${DESTDIR} install-programs
|
||||
|
||||
post_install() {
|
||||
# Remove useless files.
|
||||
rm -f ${DESTDIR}/usr/bin/distccd
|
||||
rm -rf ${DESTDIR}/etc
|
||||
|
|
Loading…
Reference in a new issue