Hello!

What exactly is the library? I gather from your description that it comes from some other package that may or may not already be installed on the system. If so, what you need to do is express the runtime (as well as build time, presumably) dependency of your package on that other package. Both the rpm and deb package formats have ways to express such dependencies, and in Moblin Package Creator you can list such dependencies in the Requires and Depends spaces on the form.

    Chris

On 12/26/2009 5:47 AM, Karthik K wrote:
Hello all,

I am using Moblin-Package-Creator to build the deb and rpm packages.

I have an application that needs a library. In the package if i include the
library files along with my app, it is giving error while installing the
package if the target system is already having the same library.

My requirement is, the rpm/deb package has to search a library in the target
system while installing.  It should copy that library from package only if
it is not present on the target system, if it is already present, then
should not copy library.

How i can add this conditional check? I am writing rules in 'install' target
of the makefile for copying the app and library.
But this install target is executed by the moblin-package-creator while
building. Since my system has the library, it is not copying the library to
the package.

But actually the library should be added to the package, and check has to be
done while installing on the target system.

How can i achieve this? Should i write any script for that? If so, how
should i use the script with moblin-package-creator?

Any help or guidance on this is highly appreciated.


Thanks,
Karthik
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to