[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: The spec file



Thanks, Paul.

-- 
Casey Price


> On Wed, 7 Jan 2004, Casey Price wrote:
>
>> Should it work with the standard ./configure, make and make install
>> commands?
>
> I've got a little shell script (below) that I call rpmtest. Just
> unpack the tarball you want to build, cd into its top directory and
> run the script. It'll let you know if the standard command set will
> work.
>
> -- Paul Heinlein <heinlein madboa com>
>
> #!/bin/sh
> # unpack tarball, eye-grep README &c., then...
> #
> # pass extra autoconf via ARGS environment variable, e.g.,
> #
> # ARGS="--disable-nls" /path/to/this/script.sh
>
> BROOT="${BROOT:=/var/tmp/$(basename $PWD)-root}"
> eval "$(rpm --eval %configure) $ARGS"
> make  $(rpm --eval %_smp_mflags)
> eval "$(rpm --define "buildroot $BROOT" --eval %makeinstall)"
>
>
> --
> fedora-devel-list mailing list
> fedora-devel-list redhat com
> http://www.redhat.com/mailman/listinfo/fedora-devel-list
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]