wok view anthy/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 0c04fc34847a |
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://osdn.net/projects/anthy/"
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 }