wok-next diff scim-tables/receipt @ rev 20515
glibc: undo math patches
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 16:16:38 2018 +0200 (2018-03-21) |
parents | 20b9600c7f0c |
children | d5aab818505e |
line diff
1.1 --- a/scim-tables/receipt Thu Aug 15 09:42:46 2013 +0000 1.2 +++ b/scim-tables/receipt Wed Mar 21 16:16:38 2018 +0200 1.3 @@ -1,33 +1,74 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="scim-tables" 1.8 -VERSION="0.5.9" 1.9 +VERSION="0.5.14.1" 1.10 CATEGORY="meta" 1.11 -SHORT_DESC="SCIM Generic Table Input Method module meta package." 1.12 +SHORT_DESC="SCIM Tables" 1.13 MAINTAINER="rocky@slitaz.org" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="https://github.com/scim-im/scim-tables" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://www.scim-im.org/" 1.19 -WGET_URL="$SF_MIRROR/scim/$TARBALL" 1.20 -LOCALE="" 1.21 +WGET_URL="$WEB_SITE/archive/$TARBALL" 1.22 1.23 -DEPENDS="scim scim-tables-base scim-tables-ja scim-tables-ko scim-tables-zh scim-tables-additional" 1.24 -BUILD_DEPENDS="scim-dev expat-dev gtk+-dev" 1.25 +BUILD_DEPENDS="automake libtool intltool gettext scim-dev" 1.26 +SPLIT="scim-tables-base scim-tables-ja scim-tables-ko scim-tables-zh \ 1.27 +scim-tables-dev scim-tables-additional" 1.28 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 { 1.32 - cd $src 1.33 - ./configure --prefix=/usr \ 1.34 - --mandir=/usr/share/man \ 1.35 - --disable-static \ 1.36 - $CONFIGURE_ARGS && 1.37 - make && 1.38 - make DESTDIR=$DESTDIR install 1.39 + ./bootstrap && 1.40 + 1.41 + ./configure \ 1.42 + --disable-static \ 1.43 + $CONFIGURE_ARGS && 1.44 + make && 1.45 + make DESTDIR=$DESTDIR install 1.46 } 1.47 1.48 # Rules to gen a SliTaz package suitable for Tazpkg. 1.49 genpkg_rules() 1.50 { 1.51 - mkdir -p $fs/var 1.52 + case $PACKAGE in 1.53 + scim-tables) 1.54 + DEPENDS="scim $SPLIT" 1.55 + ;; 1.56 + *-base) 1.57 + copy *.so* 1.58 + CAT="x-window|base module" 1.59 + DEPENDS="scim" 1.60 + ;; 1.61 + *-ja) 1.62 + copy HIRAGANA.* KATAKANA.* Nippon.* 1.63 + CAT="x-window|Japanese data" 1.64 + DEPENDS="scim-tables-base" 1.65 + ;; 1.66 + *-ko) 1.67 + copy Hangul.* HangulRomaja.* Hanja.* 1.68 + CAT="x-window|Korean data" 1.69 + DEPENDS="scim-tables-base" 1.70 + ;; 1.71 + *-zh) 1.72 + copy Array30.* CangJie5.* CangJie.* CangJie3.* Cantonese.* \ 1.73 + CantonHK.* CNS11643.* Dayi3.* Erbi.* Erbi-QS.* EZ-Big.* \ 1.74 + Jyutping.* Quick.* Simplex.* Stroke5.* Wu.* Wubi.* Ziranma.* \ 1.75 + ZhuYin.* ZhuYin-Big.* 1.76 + CAT="x-window|Chinese data" 1.77 + DEPENDS="scim-tables-base wqy-bitmapfont" 1.78 + ;; 1.79 + *-dev) 1.80 + copy @dev scim-make-table 1.81 + ;; 1.82 + *-additional) 1.83 + copy scim/ 1.84 + for i in $taz/*/files.list; do 1.85 + while read j; do 1.86 + [ -e "$fs$j" ] && rm $fs$j 1.87 + done < $i 1.88 + done 1.89 + CAT="x-window|miscellaneous data" 1.90 + DEPENDS="scim-tables-base" 1.91 + ;; 1.92 + esac 1.93 }