# HG changeset patch # User Christophe Lincoln # Date 1208180493 -7200 # Node ID b023d73fec79f5a93a7113c829cec2020c4da3f2 # Parent ab8b4e288bc8a702fbcc35df40e1372aa23a1c50 Add: enchant - Spell checker diff -r ab8b4e288bc8 -r b023d73fec79 enchant-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/enchant-dev/receipt Mon Apr 14 15:41:33 2008 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="enchant-dev" +VERSION="1.4.0" +CATEGORY="x-window" +SHORT_DESC="Enchant spell checking library." +MAINTAINER="pankso@slitaz.org" +WANTED="enchant" +WEB_SITE="http://www.abisource.com/projects/enchant/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/lib/enchant $fs/usr/lib + rm $fs/usr/lib/enchant/*.so + cp -a $_pkg/usr/include $fs/usr +} + diff -r ab8b4e288bc8 -r b023d73fec79 enchant/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/enchant/receipt Mon Apr 14 15:41:33 2008 +0200 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="enchant" +VERSION="1.4.0" +CATEGORY="x-window" +SHORT_DESC="Enchant spell checking library." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.abisource.com/projects/enchant/" +WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/lib/enchant $fs/usr/lib + rm $fs/usr/lib/enchant/*.*a + cp -a $_pkg/usr/share/enchant $fs/usr/share +} +