wok view scim-tables/receipt @ rev 25105
Use archive.org for some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 10:31:41 2022 +0000 (2022-06-22) |
parents | 667a6ebad331 |
children | 29df00e1e19d |
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|.*href="|"https://sourceforge.net|;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 }