SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "anthy"

# SliTaz package receipt.

PACKAGE="anthy"
VERSION="9100h"
CATEGORY="utilities"
SHORT_DESC="Hiragana text to Kana Kanji mixed text Japanese input method."
MAINTAINER="maintainer@slitaz.org"
LICENSE="GPL2+"
WEB_SITE="https://anthy.osdn.jp/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://osdn.net/projects/$PACKAGE/downloads/37536/$TARBALL"

BUILD_DEPENDS="libtool"

CONFIG_FILES="/etc/anthy-conf"

# What is the latest version available today?
current_version()
{
    wget -O - https://osdn.net$(wget -O - https://osdn.net/projects/$PACKAGE 2>/dev/null | \
    sed '/Date: /!d;s|.*href="||;s|".*||;q') 2>/dev/null | \
    sed '/Release anthy-/!d;s|.*anthy-.*anthy-||;s| .*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        --prefix=/usr            \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/etc

    cp $install/usr/etc/*    $fs/etc
    cook_copy_folders    bin
    cook_copy_folders    share
    cook_copy_files        *.so*
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)