wok-6.x view scim-pinyin/receipt @ rev 24722
updated libcaca and libcaca-dev (0.99.beta19 -> 0.99.beta20)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 10:03:33 2022 +0100 (2022-03-15) |
parents | 667a6ebad331 |
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://www.scim-im.org/"
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|.*href="|"https://sourceforge.net|;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 }