On Wed, 16 Jun 2004, Rui Miguel Seabra wrote:
Why not:
./configure --prefix=/tmp/Z
make
make install
cd /tmp/Z
find
#!/bin/sh
# unpack tarball, eye-grep README &c., then...
#
# pass extra autoconf args directly, escaping quotes
#
# /path/to/this/script.sh --with-pam --title=\"Fedora Build\"
#
BROOT="${BROOT:=/var/tmp/$(basename $PWD)-root}"
eval "$(rpm --eval %configure) $*"
make $(rpm --eval %_smp_mflags)
eval "$(rpm --define "buildroot $BROOT" --eval %makeinstall)"
# make DESTDIR=$BROOT install
# then get a list of packages manually...
# find $BROOT | LANG=C sort
-- Paul Heinlein <heinlein(a)madboa.com>