Re: Intergrating autopackage in Starez
"Isak Savo" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
2007/9/5, Eugene Zolenko <EugeneZolenko-XYgkjQFSZqy1Z/[email protected]>: > > Make AutopackageTarget to be 1.2 (although that seems to be unrelated). There is no need to do this unless you know you need it. It will force an upgrade of the autopackage support code if the user already has 1.0.x. > Also, make sure your default.apspec is located in the same directory as your > data (bin, skins, etc), that's where import looks for the files. Technically, it's not the location of the spec file, it's the "build root". What you should do is inside [BuildPrepare] copy all the files to the build root in the hiearchy you want on the target machine. In autotools terms, this should be the equivalent of running make install DESTDIR=$build_root You can also refer to the files relative the $source_dir variable. This will point to the actual source directory. (This is basically what Eugene suggested) See http://www.autopackage.org/docs/devguide/ch02s02.html (scroll down ~70% to "imports") for details. -Isak PS. Could we try to not top-post when discussing this. It's making it hard to follow the thread. Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]