Line 8... |
Line 8... |
8 |
This howto explains how to build RPM of these programs in order to keep the distribution clean
|
8 |
This howto explains how to build RPM of these programs in order to keep the distribution clean
|
9 |
|
9 |
|
10 |
**** Prepare the RPM creation structure ***
|
10 |
**** Prepare the RPM creation structure ***
|
11 |
- install the "kernel-userspace-headers", "rpm-build", "gengetopt", "libtool" packages
|
11 |
- install the "kernel-userspace-headers", "rpm-build", "gengetopt", "libtool" packages
|
12 |
- create directories structure in your user home : mkdir -p ~/rpmbuild/{SRPMS,SOURCES,SPECS,tmp}
|
12 |
- create directories structure in your user home : mkdir -p ~/rpmbuild/{SRPMS,SOURCES,SPECS,tmp}
|
13 |
- find the ".rpmmacros" file on mageia wiki (https://wiki.mageia.org/en/Packagers_RPM_tutorial) and copy it in your home directory
|
13 |
- Option : find the ".rpmmacros" file on mageia wiki (https://wiki.mageia.org/en/Packagers_RPM_tutorial) and copy it in your home directory
|
14 |
|
14 |
|
15 |
**** Coova-chilli *****
|
15 |
**** Coova-chilli *****
|
16 |
- retrieve the last tarball of coova-chilli (or the svn archive).
|
16 |
- retrieve the last tarball of coova-chilli (or the svn archive).
|
17 |
- Untar it and test the compilation process ("sh ./bootstrap", "./configure", "make", "make install").
|
17 |
- Untar it and test the compilation process ("sh ./bootstrap", "./configure", "make", "make install").
|
18 |
- all is in the /usr/local". Remove the instaled files ("make uninstall") and the binaries ("make clean").
|
18 |
- all is in the /usr/local". Remove the instaled files ("make uninstall") and the binaries ("make clean").
|