Diego Torres wrote:
>I'm not sure about the following:
>
>first, every .bz2, tar, gzip file is unpacked into the tmp directory.
>
>then, on the build) part of each script, you could expect to be on the correct directory... but, how and when you've been pushd to the correct directory?
>
>there is no link between bzip2 file and the script that builds & installs.
>
>i'm asking this because on the alsa part we have 4 bziped files (drivers, tools, utils) and i'll need to build and install all of them if i want sound support.
>
>
Between unpack and build comes prepare, which orders the scripts.
The script needs to be named the same as the directory, then the build
script automatically takes care of this.
Take a look scripts/build.sh line 275 - 281
You will have to create 4 scripts for alsa, but this is OK since those
are 4 seperate programs anyway.
Make sure you have the correct dependencies in the script.
cya
Heiko
|