| 1 | # -*-shell-script-*- |
| 2 | |
| 3 | [Meta] |
| 4 | RootName: @dolda2000.com/fredrik/doldaconnect/dolcon:$SOFTWAREVERSION |
| 5 | DisplayName: Dolda Connect daemon |
| 6 | ShortName: doldaconnect-daemon |
| 7 | Maintainer: Fredrik Tolf <fredrik@dolda2000.com> |
| 8 | Packager: Fredrik Tolf <fredrik@dolda2000.com> |
| 9 | Summary: The main Dolda Connect file-sharing program. |
| 10 | URL: http://www.dolda2000.com/~fredrik/doldaconnect/ |
| 11 | License: GNU General Public License, Version 2 or later |
| 12 | SoftwareVersion: @VERSION@ |
| 13 | AutopackageTarget: 1.2 |
| 14 | Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-daemon.xml |
| 15 | |
| 16 | # Only uncomment InterfaceVersion if your package exposes interfaces to other software, |
| 17 | # for instance if it includes DSOs or python/perl modules. See the developer guide for more info, |
| 18 | # or ask on autopackage-dev if you don't understand interface versioning in autopackage. |
| 19 | # |
| 20 | # InterfaceVersion: 0.0 |
| 21 | |
| 22 | [Description] |
| 23 | This is the Dolda Connect daemon, the program that does all the actual |
| 24 | file-sharing work in Dolda Connect. |
| 25 | |
| 26 | Note that, unless you really want to talk to the daemon using telnet, |
| 27 | you will also want a user interface program to control it. |
| 28 | |
| 29 | [BuildPrepare] |
| 30 | prepareBuild --without-gtk2 --without-krb5 --without-keyutils --without-pam |
| 31 | |
| 32 | [BuildUnprepare] |
| 33 | unprepareBuild |
| 34 | |
| 35 | [Imports] |
| 36 | echo bin/doldacond bin/locktouch bin/tthsum libexec/speedrec share/man etc | import |
| 37 | |
| 38 | [Prepare] |
| 39 | require @zlib.org/zlib 1 |
| 40 | require @bzip.org/libbz2 1 |
| 41 | require @gnu.org/gdbm 3 |
| 42 | |
| 43 | [Install] |
| 44 | installExe bin/doldacond bin/locktouch bin/tthsum |
| 45 | copyFiles libexec/speedrec "$PREFIX/libexec" |
| 46 | copyFiles etc/* "$PREFIX/etc" |
| 47 | |
| 48 | [Uninstall] |
| 49 | uninstallFromLog |