List Info

Thread: Packaging Boost.Build (rpm)




Packaging Boost.Build (rpm)
user name
2007-07-20 08:54:24
I've attempted to add boost.build v2 to my boost spec file
but I'm
wondering if theres an easier way than what I'm currently
doing.
Basically, I've located all required files via trial and
error and
copy them manually.

#% is /usr/share
mkdir -p $RPM_BUILD_ROOT%/boost-build/build
mkdir -p $RPM_BUILD_ROOT%/boost-build/kernel
mkdir -p $RPM_BUILD_ROOT%/boost-build/notes
mkdir -p $RPM_BUILD_ROOT%/boost-build/options
mkdir -p $RPM_BUILD_ROOT%/boost-build/tools
mkdir -p $RPM_BUILD_ROOT%/boost-build/tools/types
mkdir -p $RPM_BUILD_ROOT%/boost-build/util
mkdir -p $RPM_BUILD_ROOT%

for i in `find build -type f`; do
    install -m 644 $i
$RPM_BUILD_ROOT%/boost-build/$i
done
for i in `find kernel -type f`; do
    install -m 644 $i
$RPM_BUILD_ROOT%/boost-build/$i
done
for i in `find notes -type f`; do
    install -m 644 $i
$RPM_BUILD_ROOT%/boost-build/$i
done
for i in `find options -type f`; do
    install -m 644 $i
$RPM_BUILD_ROOT%/boost-build/$i
done
for i in `find tools -type f`; do
    install -m 644 $i
$RPM_BUILD_ROOT%/boost-build/$i
done
for i in `find util -type f`; do
    install -m 644 $i
$RPM_BUILD_ROOT%/boost-build/$i
done
touch
$RPM_BUILD_ROOT%/boost-build/user-config.jam

cd ../../..

install -m 644 tools/build/v2/bootstrap.jam
$RPM_BUILD_ROOT%/boost-build/bootstrap.jam
install -m 644 tools/build/v2/build-system.jam
$RPM_BUILD_ROOT%/boost-build/build-system.jam
install -m 644 tools/build/v2/changes.txt
$RPM_BUILD_ROOT%/boost-build/changes.txt
install -m 644 tools/build/v2/boost-build.jam
$RPM_BUILD_ROOT%/boost-build/boost-build.jam
install tools/jam/src/bin.linux/bjam 
$RPM_BUILD_ROOT%/bjam

The hard part was figuring out what you need and what you
don't in the
tools/build directory. There an easy way to determine other
than trial
and error?

Thanks,
Chris
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: Packaging Boost.Build (rpm)
country flaguser name
Austria
2007-07-20 09:02:34

Chris Fairles wrote:
> The hard part was figuring out what you need and what
you don't in the
> tools/build directory. There an easy way to determine
other than trial
> and error?

Just an idea: might the exclude file within the debian
subdirectory be 
of help? At least I found this is what is excluded on debian
systems and 
it obviously works.

Roland

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: Packaging Boost.Build (rpm)
user name
2007-07-20 13:43:35
Ah right. I forgot I did use that initially. Would be
slightly easier
for me if I had a "includes"-like file. I suppose
I could grab every
file and see if its in the exclude or in a directory in
exclude. That
seems more robust than explicitly naming the dir's and
file's to
include myself since I have only a small notion of whats
required.

Thanks,
Chris


On 7/20/07, Roland Schwarz <roland.schwarzchello.at> wrote:
>
>
> Chris Fairles wrote:
> > The hard part was figuring out what you need and
what you don't in the
> > tools/build directory. There an easy way to
determine other than trial
> > and error?
>
> Just an idea: might the exclude file within the debian
subdirectory be
> of help? At least I found this is what is excluded on
debian systems and
> it obviously works.
>
> Roland
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )