diff options
Diffstat (limited to 'packages/enchant')
-rw-r--r-- | packages/enchant/enchant_1.2.5.bb | 27 | ||||
-rw-r--r-- | packages/enchant/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/enchant/files/configure.patch | 10 |
3 files changed, 37 insertions, 0 deletions
diff --git a/packages/enchant/enchant_1.2.5.bb b/packages/enchant/enchant_1.2.5.bb new file mode 100644 index 0000000000..888bff094d --- /dev/null +++ b/packages/enchant/enchant_1.2.5.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Enchant Spell checker API Library" +MAINTAINER = "AbiWord Team" +PRIORITY = "optional" +SECTION = "libs" +LICENSE = "LGPL" +DEPENDS = "aspell" +RDEPENDS = "aspell" + +inherit autotools pkgconfig + +PR = "r0" + +S = "${WORKDIR}/enchant-${PV}" + +SRC_URI = "http://www.abisource.com/downloads/enchant/${PV}/enchant-${PV}.tar.gz \ + file://configure.patch;patch=1" + +EXTRA_OECONF = "--with-aspell-prefix=${STAGING_DIR}/${HOST_SYS} --enable-aspell --disable-binreloc" + +do_stage() { + oe_runmake install prefix=${STAGING_DIR} \ + bindir=${STAGING_BINDIR} \ + includedir=${STAGING_INCDIR} \ + libdir=${STAGING_LIBDIR} \ + datadir=${STAGING_DATADIR} \ + mandir=${STAGING_DIR}/share/man +} diff --git a/packages/enchant/files/.mtn2git_empty b/packages/enchant/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/enchant/files/.mtn2git_empty diff --git a/packages/enchant/files/configure.patch b/packages/enchant/files/configure.patch new file mode 100644 index 0000000000..6f1f23e01d --- /dev/null +++ b/packages/enchant/files/configure.patch @@ -0,0 +1,10 @@ +--- enchant-1.2.5/configure.in.orig 2006-04-14 11:08:20.000000000 +0100 ++++ enchant-1.2.5/configure.in 2006-04-14 11:12:03.000000000 +0100 +@@ -147,6 +147,7 @@ + LDFLAGS="-L$with_aspell_prefix/lib "$LDFLAGS + ASPELL_INC="-I$with_aspell_prefix/include" + ASPELL_LIBS="-L$with_aspell_prefix/lib -laspell" ++ aspell_prefix=$with_aspell_prefix + else + aspell_prefix=${prefix} + if test "x$prefix" = "xNONE"; then |