summaryrefslogtreecommitdiff
path: root/autopackage
diff options
context:
space:
mode:
authorRob Staudinger <robert.staudinger@gmail.com>2005-05-04 16:03:17 +0000
committerRob Staudinger <robert.staudinger@gmail.com>2005-05-04 16:03:17 +0000
commita62a9ba430220269cacd1c3c2aef5cbfe321c939 (patch)
treed68ae063810faa7677f22b9297800a1cfdb14bba /autopackage
parenta330abc9d15b390c0144046fbc0f78579f434cf8 (diff)
downloadenchant-a62a9ba430220269cacd1c3c2aef5cbfe321c939.tar.gz
Autopackage support.
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@21039 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
Diffstat (limited to 'autopackage')
-rw-r--r--autopackage/@gtk.org/glib/skeleton.114
-rw-r--r--autopackage/@gtk.org/gmodule/skeleton.114
-rw-r--r--autopackage/default.apspec.in53
3 files changed, 81 insertions, 0 deletions
diff --git a/autopackage/@gtk.org/glib/skeleton.1 b/autopackage/@gtk.org/glib/skeleton.1
new file mode 100644
index 0000000..95ba298
--- /dev/null
+++ b/autopackage/@gtk.org/glib/skeleton.1
@@ -0,0 +1,14 @@
+# Package skeleton for glib
+
+[Meta]
+RootName: @gtk.org/glib
+DisplayName: The Gtk+ utility library
+ShortName: glib
+Skeleton-Author: Robert Staudinger <robsta@stereolyzer.net>
+Skeleton-Version: 1
+
+[Notes]
+Does not set SOFTWARE_VERSIONS
+
+[Test]
+INTERFACE_VERSIONS=$( testForLib -i libglib-2.0.so )
diff --git a/autopackage/@gtk.org/gmodule/skeleton.1 b/autopackage/@gtk.org/gmodule/skeleton.1
new file mode 100644
index 0000000..b64d155
--- /dev/null
+++ b/autopackage/@gtk.org/gmodule/skeleton.1
@@ -0,0 +1,14 @@
+# Package skeleton for gmodule
+
+[Meta]
+RootName: @gtk.org/gmodule
+DisplayName: The Gtk+ dynamic module loader
+ShortName: gmodule
+Skeleton-Author: Robert Staudinger <robsta@stereolyzer.net>
+Skeleton-Version: 1
+
+[Notes]
+Does not set SOFTWARE_VERSIONS
+
+[Test]
+INTERFACE_VERSIONS=$( testForLib -i libgmodule-2.0.so )
diff --git a/autopackage/default.apspec.in b/autopackage/default.apspec.in
new file mode 100644
index 0000000..e3da4d2
--- /dev/null
+++ b/autopackage/default.apspec.in
@@ -0,0 +1,53 @@
+# -*-shell-script-*-
+
+[Meta]
+RootName: @abisource.org/enchant:@VERSION@
+DisplayName: An Enchanting Spell Checking Library
+ShortName: enchant
+Maintainer: Dom Lachowicz - http://www.abisource.org/
+Packager: Robert Staudinger <robsta@stereolyzer.net>
+Summary: A library that wraps other spell checking backends.
+SoftwareVersion: @VERSION@
+AutopackageTarget: 1.0
+PackageVersion: 3
+
+# Only uncomment InterfaceVersion if your package exposes interfaces to other software,
+# for instance if it includes DSOs or python/perl modules. See the developer guide for more info,
+# or ask on autopackage-dev if you don't understand interface versioning in autopackage.
+
+# FIXME set this automatically
+# but VERSION has 3 digits
+InterfaceVersion: 1.1
+
+[Description]
+Enchant is meant to provide a generic interface into various existing
+spell checking libaries. These include, but are not limited to:
+* Aspell/Pspell
+* Ispell
+* Hspell
+* Uspell
+
+[BuildPrepare]
+prepareBuild --prefix=/bail/if/binreloc/bails --enable-ispell --enable-myspell --enable-aspell --enable-uspell --enable-hspell
+
+[BuildUnprepare]
+unprepareBuild
+
+[Imports]
+echo '*' | import
+
+[Prepare]
+require @gtk.org/glib 0
+require @gtk.org/gmodule 0
+
+[Install]
+# Put your installation script here
+installExe ./bin/*
+installLib ./lib/*.so.*.*.*
+mkdir -p "$PREFIX/lib/enchant"
+mv ./lib/enchant/libenchant_*so* "$PREFIX/lib/enchant"
+installMan 1 man/man1/*
+
+[Uninstall]
+rm -R -f "$PREFIX/lib/enchant"
+uninstallFromLog