# HG changeset patch # User Pascal Bellard # Date 1429183626 -7200 # Node ID c11b812cd39a4a5fce2d68643a0ffe10663c708e # Parent c4dac50ef51f6a8dc0a3b093949a0cae5b03ca59 Add hunspell diff -r c4dac50ef51f -r c11b812cd39a hunspell-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hunspell-dev/receipt Thu Apr 16 13:27:06 2015 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="hunspell-dev" +VERSION="1.3.3" +CATEGORY="development" +SHORT_DESC="A spell checker, development files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2 LGPL2.1 MPL" +WEB_SITE="http://hunspell.sourceforge.net/" +WANTED="hunspell" + +DEPENDS="hunspell pkg-config" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r c4dac50ef51f -r c11b812cd39a hunspell/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hunspell/receipt Thu Apr 16 13:27:06 2015 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="hunspell" +VERSION="1.3.3" +CATEGORY="system-tools" +SHORT_DESC="A spell checker." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2 LGPL2.1 MPL" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://hunspell.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make -j 1 DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so $fs/usr/lib + cp -a $install/usr/bin $fs/usr +}