wok view scim-tables/receipt @ rev 25607

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 13:00:59 2023 +0000 (17 months ago)
parents e919c5a2742d
children 98eb7c7288b5
line source
1 # SliTaz package receipt.
3 PACKAGE="scim-tables"
4 VERSION="0.5.14.1"
5 CATEGORY="meta"
6 SHORT_DESC="SCIM Generic Table Input Method module meta package."
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.scim-im.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/scim/$TARBALL"
14 LOCALE=""
15 DEPENDS="scim scim-tables-additional scim-tables-base \
16 scim-tables-ja scim-tables-ko scim-tables-zh"
17 BUILD_DEPENDS="automake libtool scim-dev expat-dev gtk+-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/scim/files/scim-tables/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/scim-tables-||;s|.tar.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./bootstrap &&
31 ./configure \
32 --prefix=/usr \
33 --mandir=/usr/share/man \
34 --disable-static \
35 $CONFIGURE_ARGS &&
36 make -j 1 &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/var
44 }