Greetings
Been starting to think how could be possible to make build system to make pkg's
from svn.
One possible solution could be : ( very short and not final for all things .. )
Create one Makefile for svn to tar.gz prosessing
- configurable location for svn checkout
- make targets :
* checkout > svn co
* update > svn update
* clean > svn clean
* archive > tar and gzip svn content. like kdelibs ->
kdelibs.tar.gz
put *tar.gz to ~/packages/SOURCES directory
that is default to pkgbuild source archives
Create .spec , inc and patch files for all targets and one Makefile to process
all .spec files.
- Source arhives are processed by default everytime using "snv to tar.gz"
- no "--download" option needed as source archives are processed to pkgbuild
default directory
~/packages/SOURCES
- Makefile process all .spec files in correct order
- Locate to "include" - subdirectory .spec "inc"-files
- Locate to "Patches" - subdirectory .spec patches
Problematic is kdesupport , as it is still in "trunk" in svn not part "4.1
branch"
So that need handled separately from other svn 4.1 branch content
How you find this ?
Thanks
--
This message posted from opensolaris.org