cygport/cygclass/aspell-dict.cygclass

Cygport Reference Manual

### TABLE OF CONTENTS

- aspell-dict.cygclass

- ASPELL_COMPAT
- ASPELL_DATADIR
- ASPELL_DICTDIR
- ASPELL_LANG
- ASPELL_LANG_FULL
- CATEGORY (aspell-dict)
- SUMMARY (aspell-dict)
- DESCRIPTION (aspell-dict)
- HOMEPAGE (aspell-dict)
- SRC_URI (aspell-dict)
- aspell_dict_compile
- doaspelldict
- doaspelldata
- src_compile (aspell-dict)

## aspell-dict.cygclass

[ Top ] [ Cygclasses ] [ Cygclasses ]

SYNOPSIS

      [ASPELL_COMPAT=...]
      inherit aspell-dict

DESCRIPTION

Aspell is a GNU project providing a spell checking library and command-line tool. Aspell can support multiple languages by installing dictonaries.

The purpose of this cygclass is to create Aspell dictionary packages for the Cygwin Aspell package. aspell-dict.cygclass expects the package name to be "aspell-<language_code>". If the source tarball is named "aspell5-*" or "aspell6-*", ASPELL_COMPAT must be declared before inheriting.

EXAMPLE

        ASPELL_COMPAT=6
        inherit aspell-dict

        NAME="aspell-en"
        VERSION=7.1-0
        RELEASE=1
        CATEGORY="Text"
        SUMMARY="Aspell English dictionaries"
        DESCRIPTION="GNU Aspell is a Free and Open Source spell checker designed
        to eventually replace Ispell. It can either be used as a library or as an
        independent spell checker.
        This package provides English dictionaries for Aspell."

REQUIRES

aspell

SEE ALSO

mirror_gnu

## ASPELL_COMPAT

[ Top ] [ aspell-dict.cygclass ] [ Variables ]

DESCRIPTION

Dictionary compatibility level:

- unset -- Source named "aspell-*". Built with old system for 0.50; usually compatible with 0.60.
- 5 -- Source named "aspell5-*". Built for 0.50 but usually compatible with 0.60.
- 6 -- Source named "aspell6-*". Built for 0.60 and incompatible with 0.50.

NOTE

This variable, if necessary, must be declared before inheriting aspell-dict.cygclass.

## ASPELL_DATADIR

[ Top ] [ aspell-dict.cygclass ] [ Definitions ]

DESCRIPTION

Installation path for Aspell platform-independent dictionary files

## ASPELL_DICTDIR

[ Top ] [ aspell-dict.cygclass ] [ Definitions ]

DESCRIPTION

Installation path for Aspell compiled dictionary files

## ASPELL_LANG

[ Top ] [ aspell-dict.cygclass ] [ Definitions ]

DESCRIPTION

ISO 639 short code for language name

## ASPELL_LANG_FULL

[ Top ] [ aspell-dict.cygclass ] [ Definitions ]

DESCRIPTION

The English name for the language specified in ASPELL_LANG.

NOTE

The iso-codes package must be installed in order to provide this definition.

## CATEGORY (aspell-dict)

[ Top ] [ aspell-dict.cygclass ] [ Overloads ]

DEFINITION

    CATEGORY="Text"

## SUMMARY (aspell-dict)

[ Top ] [ aspell-dict.cygclass ] [ Overloads ]

DEFINITION

    SUMMARY="Aspell ${ASPELL_LANG_FULL:-${ASPELL_LANG}} dictionary"

## DESCRIPTION (aspell-dict)

[ Top ] [ aspell-dict.cygclass ] [ Overloads ]

DEFINITION

    DESCRIPTION="GNU Aspell is a Free and Open Source spell checker designed to
    eventually replace Ispell. It can either be used as a library or as an
    independent spell checker.
    This package provides ${ASPELL_LANG_FULL:-${ASPELL_LANG}} dictionaries for Aspell."

## HOMEPAGE (aspell-dict)

[ Top ] [ aspell-dict.cygclass ] [ Overloads ]

DEFINITION

    HOMEPAGE="http://aspell.net/"

## SRC_URI (aspell-dict)

[ Top ] [ aspell-dict.cygclass ] [ Overloads ]

DEFINITION

    SRC_URI="mirror://gnu/aspell/dict/${ASPELL_LANG}/${ORIG_PN}-${ORIG_PV}.tar.bz2"

## aspell_dict_compile

[ Top ] [ aspell-dict.cygclass ] [ Compile Functions ]

SYNOPSIS

      aspell_dict_compile

DESCRIPTION

Compiles an Aspell dictionary by running the custom configure script, then calling cygmake.

## doaspelldict

[ Top ] [ aspell-dict.cygclass ] [ Install Functions ]

SYNOPSIS

      doaspelldict FILES

DESCRIPTION

Installs the Aspell dictionary files to the correct directories. Aspell dictionaries usually install with the default src_install, so this is generally unnecessary.

## doaspelldata

[ Top ] [ aspell-dict.cygclass ] [ Install Functions ]

DESCRIPTION

Alias for doaspelldict.

## src_compile (aspell-dict)

[ Top ] [ aspell-dict.cygclass ] [ Overloads ]

DEFINITION

    src_compile() {
            lndirs
            cd ${B}
            aspell_dict_compile
    }