| 1 | # -*-shell-script-*- |
| 2 | |
| 3 | [Meta] |
| 4 | RootName: @dolda2000.com/fredrik/doldaconnect/doldacond:$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 | PackageFileName: doldaconnect-daemon-@VERSION@.package |
| 16 | |
| 17 | # Only uncomment InterfaceVersion if your package exposes interfaces to other software, |
| 18 | # for instance if it includes DSOs or python/perl modules. See the developer guide for more info, |
| 19 | # or ask on autopackage-dev if you don't understand interface versioning in autopackage. |
| 20 | # |
| 21 | # InterfaceVersion: 0.0 |
| 22 | |
| 23 | [Description] |
| 24 | This is the Dolda Connect daemon, the program that does all the actual |
| 25 | file-sharing work in Dolda Connect. |
| 26 | |
| 27 | Note that, unless you really want to talk to the daemon using telnet, |
| 28 | you will also want a user interface program to control it. |
| 29 | |
| 30 | [BuildPrepare] |
| 31 | echo "apkg" >source |
| 32 | prepareBuild --without-gtk2 --without-krb5 --without-keyutils --without-pam |
| 33 | |
| 34 | [BuildUnprepare] |
| 35 | unprepareBuild |
| 36 | |
| 37 | [Imports] |
| 38 | echo bin/doldacond bin/locktouch bin/tthsum libexec/speedrec share/man etc | import |
| 39 | |
| 40 | [Prepare] |
| 41 | require @zlib.org/zlib 1 |
| 42 | require @bzip.org/libbz2 1 |
| 43 | require @gnu.org/gdbm 3 |
| 44 | |
| 45 | [Install] |
| 46 | installExe doldacond locktouch tthsum |
| 47 | copyFiles speedrec "$PREFIX/libexec" |
| 48 | copyFiles etc/* "$PREFIX/etc" |
| 49 | |
| 50 | [Uninstall] |
| 51 | uninstallFromLog |