wok view scim-pinyin/receipt @ rev 25687
updated sc-im (0.8.2 -> 0.8.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 11 14:51:51 2024 +0100 (7 months ago) |
parents | 29df00e1e19d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="scim-pinyin"
4 VERSION="0.5.92"
5 CATEGORY="utilities"
6 SHORT_DESC="Chinese PinYin input for SCIM."
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/scim-im/scim/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/scim/$TARBALL"
13 #WGET_URL="http://kent.dl.sourceforge.net/sourceforge/scim/$TARBALL"
15 DEPENDS="scim"
16 BUILD_DEPENDS="automake gtk+-dev libtool scim-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/scim/files/scim-pinyin/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/scim-pinyin-||;s|.tar.*||;q'
24 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # while read file; do
29 # [ -f done.$file ] && continue
30 # echo "Apply $file..."
31 # patch -p1 < $stuff/$file || return 1
32 # touch done.$file
33 # done <<EOT
34 #cstring-gcc43.patch
35 #EOT
37 ./bootstrap &&
38 ./configure \
39 --prefix=/usr \
40 --mandir=/usr/share/man \
41 --infodir=/usr/share/info \
42 --disable-static \
43 $CONFIGURE_ARGS &&
44 make -j 1 &&
45 make DESTDIR=$DESTDIR install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/share
53 cp -a $install/usr/lib $fs/usr
54 cp -a $install/usr/share/scim $fs/usr/share
56 find $fs/usr/lib -name '*.la' -exec rm {} \;
57 }