wok-6.x view scim-anthy/receipt @ rev 25481

created recipe for py3k-cffi
author Hans-G?nter Theisgen
date Mon Oct 17 07:42:01 2022 +0100 (2022-10-17)
parents 8c77592c608a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="scim-anthy"
4 VERSION="1.3.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Japanese input method module for SCIM."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/scim-im/scim-anthy"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
14 DEPENDS="anthy scim"
15 BUILD_DEPENDS="anthy-dev automake gtk+-dev libtool scim-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./bootstrap &&
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders scim
39 cook_copy_files *.so*
40 }