wok annotate anthy/receipt @ rev 25017
updated openjpeg, openjpeg-dev and openjpeg-tools (1.5.0 -> 1.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 06:55:41 2022 +0100 (2022-05-18) |
parents | 8c77592c608a |
children | 72fb3028d8ce |
rev | line source |
---|---|
Hans-G?nter@24309 | 1 # SliTaz package receipt. |
Hans-G?nter@24309 | 2 |
Hans-G?nter@24309 | 3 PACKAGE="anthy" |
Hans-G?nter@24309 | 4 VERSION="9100h" |
Hans-G?nter@24309 | 5 CATEGORY="utilities" |
Hans-G?nter@24309 | 6 SHORT_DESC="Hiragana text to Kana Kanji mixed text Japanese input method." |
Hans-G?nter@24309 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@24309 | 8 LICENSE="GPL2+" |
Hans-G?nter@24309 | 9 WEB_SITE="https://anthy.osdn.jp/" |
Hans-G?nter@24309 | 10 |
Hans-G?nter@24309 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24309 | 12 WGET_URL="https://osdn.net/projects/$PACKAGE/downloads/37536/$TARBALL" |
Hans-G?nter@24309 | 13 |
Hans-G?nter@24309 | 14 BUILD_DEPENDS="libtool" |
Hans-G?nter@24309 | 15 |
Hans-G?nter@24309 | 16 CONFIG_FILES="/etc/anthy-conf" |
Hans-G?nter@24309 | 17 |
pascal@24313 | 18 # What is the latest version available today? |
pascal@24313 | 19 current_version() |
pascal@24313 | 20 { |
pascal@24313 | 21 wget -O - https://osdn.net$(wget -O - https://osdn.net/projects/$PACKAGE 2>/dev/null | \ |
pascal@24313 | 22 sed '/Date: /!d;s|.*href="||;s|".*||;q') 2>/dev/null | \ |
pascal@24313 | 23 sed '/Release anthy-/!d;s|.*anthy-.*anthy-||;s| .*||;q' |
pascal@24313 | 24 } |
pascal@24313 | 25 |
Hans-G?nter@24309 | 26 # Rules to configure and make the package. |
Hans-G?nter@24309 | 27 compile_rules() |
Hans-G?nter@24309 | 28 { |
Hans-G?nter@24309 | 29 ./configure \ |
Hans-G?nter@24309 | 30 --prefix=/usr \ |
Hans-G?nter@24309 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@24309 | 32 make && |
Hans-G?nter@24309 | 33 make DESTDIR=$DESTDIR install |
Hans-G?nter@24309 | 34 } |
Hans-G?nter@24309 | 35 |
Hans-G?nter@24309 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@24309 | 37 genpkg_rules() |
Hans-G?nter@24309 | 38 { |
Hans-G?nter@24309 | 39 mkdir -p $fs/etc |
Hans-G?nter@24309 | 40 |
Hans-G?nter@24309 | 41 cp $install/usr/etc/* $fs/etc |
Hans-G?nter@24309 | 42 cook_copy_folders bin |
Hans-G?nter@24309 | 43 cook_copy_folders share |
Hans-G?nter@24309 | 44 cook_copy_files *.so* |
Hans-G?nter@24309 | 45 } |