Add apkg skeleton for doldacond and fix its package.
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 14 Oct 2007 12:30:16 +0000 (14:30 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 14 Oct 2007 12:30:16 +0000 (14:30 +0200)
autopackage/@dolda2000.com/fredrik/doldaconnect/doldacond/skeleton.1 [new file with mode: 0644]
autopackage/doldacond.apspec.in

diff --git a/autopackage/@dolda2000.com/fredrik/doldaconnect/doldacond/skeleton.1 b/autopackage/@dolda2000.com/fredrik/doldaconnect/doldacond/skeleton.1
new file mode 100644 (file)
index 0000000..5d59c85
--- /dev/null
@@ -0,0 +1,18 @@
+# -*-shell-script-*-
+
+[Meta]
+RootName: @dolda2000.com/fredrik/doldaconnect/doldacond
+DisplayName: Dolda Connect daemon
+ShortName: doldaconnect-daemon
+Skeleton-Author: Fredrik Tolf <fredrik@dolda2000.com>
+Skeleton-Version: 1
+Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-daemon.xml
+
+[Test]
+SOFTWARE_VERSIONS=
+if which doldacond >/dev/null 2>&1; then
+    SOFTWARE_VERSIONS="$(doldacond -V | sed -n 's/^relver \(.*\)$/\1/p')"
+fi
+if [ -n "$SOFTWARE_VERSIONS" ]; then
+    INTERFACE_VERSIONS=1.0
+fi
index ab29421..1884bf9 100644 (file)
@@ -1,7 +1,7 @@
 # -*-shell-script-*-
 
 [Meta]
-RootName: @dolda2000.com/fredrik/doldaconnect/dolcon:$SOFTWAREVERSION
+RootName: @dolda2000.com/fredrik/doldaconnect/doldacond:$SOFTWAREVERSION
 DisplayName: Dolda Connect daemon
 ShortName: doldaconnect-daemon
 Maintainer: Fredrik Tolf <fredrik@dolda2000.com>