[crux-commits] ports/opt (2.3): Openoffice: force tmpdir inside work directory

crux at crux.nu crux at crux.nu
Wed Aug 29 23:51:39 UTC 2007


commit ae13f822367f4fd9cf661c99f0b3fe07a7891816
Author: Simone Rota <sip at crux.nu>
Date:   Thu Aug 30 01:51:17 2007 +0200

    Openoffice: force tmpdir inside work directory

diff --git a/openoffice/Pkgfile b/openoffice/Pkgfile
index c2989e1..fec1de3 100644
--- a/openoffice/Pkgfile
+++ b/openoffice/Pkgfile
@@ -10,6 +10,8 @@ release=1
 source=(http://openoffice-atl.osuosl.org/stable/$version/OOo_${version}_LinuxIntel_install_en-US.tar.gz)
 
 build() {
+	mkdir $SRC/tmp
+	export TMPDIR=$SRC/tmp
 	cd OO*/RPMS
 	for f in *.rpm; do rpm2targz $f; done
 	for f in *.tar.gz; do tar xvfz $f -C $PKG; done



More information about the crux-commits mailing list