From d967c639a8f29059c1037d5cf31265acd898fd6c Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 3 Nov 2010 07:06:31 +0000 Subject: [PATCH] enchant: initial import (verified compilation). --- enchant/.footprint | 29 +++++++++++++++++++++++++++++ enchant/.md5sum | 1 + enchant/Pkgfile | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 enchant/.footprint create mode 100644 enchant/.md5sum create mode 100644 enchant/Pkgfile diff --git a/enchant/.footprint b/enchant/.footprint new file mode 100644 index 0000000..e9b0778 --- /dev/null +++ b/enchant/.footprint @@ -0,0 +1,29 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/enchant +-rwxr-xr-x root/root usr/bin/enchant-lsmod +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/enchant/ +-rw-r--r-- root/root usr/include/enchant/enchant++.h +-rw-r--r-- root/root usr/include/enchant/enchant-provider.h +-rw-r--r-- root/root usr/include/enchant/enchant.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/enchant/ +-rwxr-xr-x root/root usr/lib/enchant/libenchant_aspell.la +-rwxr-xr-x root/root usr/lib/enchant/libenchant_aspell.so +-rwxr-xr-x root/root usr/lib/enchant/libenchant_ispell.la +-rwxr-xr-x root/root usr/lib/enchant/libenchant_ispell.so +-rwxr-xr-x root/root usr/lib/enchant/libenchant_myspell.la +-rwxr-xr-x root/root usr/lib/enchant/libenchant_myspell.so +-rwxr-xr-x root/root usr/lib/libenchant.la +lrwxrwxrwx root/root usr/lib/libenchant.so -> libenchant.so.1.4.2 +lrwxrwxrwx root/root usr/lib/libenchant.so.1 -> libenchant.so.1.4.2 +-rw-r--r-- root/root usr/lib/libenchant.so.1.4.2 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/enchant.pc +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/enchant.1.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/enchant/ +-rw-r--r-- root/root usr/share/enchant/enchant.ordering diff --git a/enchant/.md5sum b/enchant/.md5sum new file mode 100644 index 0000000..fe038cc --- /dev/null +++ b/enchant/.md5sum @@ -0,0 +1 @@ +fe4558269ff59f569ab9581c907d58cb enchant-1.4.2.tar.gz diff --git a/enchant/Pkgfile b/enchant/Pkgfile new file mode 100644 index 0000000..e06c718 --- /dev/null +++ b/enchant/Pkgfile @@ -0,0 +1,40 @@ +# Description: Generic Spell Checking Library. +# URL: http://www.abisource.com/enchant/ +# Packager: James Mills, prologic at shortcircuit dot net dot au +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Arch Maintainer System Team devel at crux-arm dot nu +# Depends on: aspell glib + +name=enchant +version=1.4.2 +release=1 +source=(http://www.abisource.com/downloads/enchant/$version/enchant-$version.tar.gz) + +build() { + cd enchant-$version + export DEFAULT_LIBS="-L$CLFS/usr/lib" + export DEFAULT_CFLAGS="-I$CLFS/usr/include" + export GLIB_LIBS="-pthread -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0" + export GLIB_CFLAGS="-pthread -I$CLFS/usr/include/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include -I$CLFS/usr/include/gio-unix-2.0" + export ENCHANT_LIBS="$DEFAULT_LIBS $GLIB_LIBS" + export ENCHANT_CFLAGS="$DEFAULT_CFLAGS $GLIB_CFLAGS" + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --mandir=/usr/man \ + --disable-static \ + --disable-dependency-tracking \ + --disable-zemberek \ + --disable-hspell \ + --disable-uspell \ + --disable-voikko \ + --with-aspell-prefix=$CLFS/usr + + # libtool relink change to avoid hosts libs + sed "s|add_dir=\"\-L\$libdir\"|add_dir=\"\-L\$CLFS\$dir\"|g" -i libtool + make + make DESTDIR=$PKG install + chmod a-x $PKG/usr/lib/*.so +} + -- 2.26.2