wok-current view anthy/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 8c77592c608a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="anthy"
4 VERSION="9100h"
5 CATEGORY="utilities"
6 SHORT_DESC="Hiragana text to Kana Kanji mixed text Japanese input method."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2+"
9 WEB_SITE="https://anthy.osdn.jp/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://osdn.net/projects/$PACKAGE/downloads/37536/$TARBALL"
14 BUILD_DEPENDS="libtool"
16 CONFIG_FILES="/etc/anthy-conf"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://osdn.net$(wget -O - https://osdn.net/projects/$PACKAGE 2>/dev/null | \
22 sed '/Date: /!d;s|.*href="||;s|".*||;q') 2>/dev/null | \
23 sed '/Release anthy-/!d;s|.*anthy-.*anthy-||;s| .*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/etc
41 cp $install/usr/etc/* $fs/etc
42 cook_copy_folders bin
43 cook_copy_folders share
44 cook_copy_files *.so*
45 }