I am working on creating a package pkg1 that depend on pkg2, so I added a 
‘depend’ config file in the prototype.
From the man page of depend, I should add the following entries in the depend 
file:
type pkg name
(arch)version
(arch)version

So I added the following entries in the ‘depend’
P pkg2 my_pkg2
I386 1.0

My question is: if I want my pkg1 depends on the pkg2 that version >= 1.0, how 
could I write it in the ‘depend’? Any comments are appreciated, thank you very 
much.

The methods I known:
1. Add all the possible versions in the ‘depend’, like the following:
P pkg2 my_pkg2
i386 1.0
i386 2.0
i386 3.0
…

2. Ignore the version entry in the ‘depend’, like the following:
P pkg2 my_pkg2
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to