wok-next annotate scim-tables/receipt @ rev 20957
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Sep 05 15:26:05 2018 +0300 (2018-09-05) |
parents | 20b9600c7f0c |
children | d5aab818505e |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
rocky@3549 | 2 |
rocky@3549 | 3 PACKAGE="scim-tables" |
al@19741 | 4 VERSION="0.5.14.1" |
rocky@3549 | 5 CATEGORY="meta" |
al@19741 | 6 SHORT_DESC="SCIM Tables" |
rocky@3549 | 7 MAINTAINER="rocky@slitaz.org" |
pascal@15132 | 8 LICENSE="GPL2" |
al@19741 | 9 WEB_SITE="https://github.com/scim-im/scim-tables" |
al@19741 | 10 |
rocky@3549 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19741 | 12 WGET_URL="$WEB_SITE/archive/$TARBALL" |
rocky@3549 | 13 |
al@19741 | 14 BUILD_DEPENDS="automake libtool intltool gettext scim-dev" |
al@19741 | 15 SPLIT="scim-tables-base scim-tables-ja scim-tables-ko scim-tables-zh \ |
al@19741 | 16 scim-tables-dev scim-tables-additional" |
pascal@15132 | 17 |
rocky@3549 | 18 # Rules to configure and make the package. |
rocky@3549 | 19 compile_rules() |
rocky@3549 | 20 { |
al@19741 | 21 ./bootstrap && |
al@19741 | 22 |
al@19741 | 23 ./configure \ |
al@19741 | 24 --disable-static \ |
al@19741 | 25 $CONFIGURE_ARGS && |
al@19741 | 26 make && |
al@19741 | 27 make DESTDIR=$DESTDIR install |
rocky@3549 | 28 } |
rocky@3549 | 29 |
rocky@3549 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3549 | 31 genpkg_rules() |
rocky@3549 | 32 { |
al@19741 | 33 case $PACKAGE in |
al@19741 | 34 scim-tables) |
al@19741 | 35 DEPENDS="scim $SPLIT" |
al@19741 | 36 ;; |
al@19741 | 37 *-base) |
al@19741 | 38 copy *.so* |
al@19741 | 39 CAT="x-window|base module" |
al@19741 | 40 DEPENDS="scim" |
al@19741 | 41 ;; |
al@19741 | 42 *-ja) |
al@19741 | 43 copy HIRAGANA.* KATAKANA.* Nippon.* |
al@19741 | 44 CAT="x-window|Japanese data" |
al@19741 | 45 DEPENDS="scim-tables-base" |
al@19741 | 46 ;; |
al@19741 | 47 *-ko) |
al@19741 | 48 copy Hangul.* HangulRomaja.* Hanja.* |
al@19741 | 49 CAT="x-window|Korean data" |
al@19741 | 50 DEPENDS="scim-tables-base" |
al@19741 | 51 ;; |
al@19741 | 52 *-zh) |
al@19741 | 53 copy Array30.* CangJie5.* CangJie.* CangJie3.* Cantonese.* \ |
al@19741 | 54 CantonHK.* CNS11643.* Dayi3.* Erbi.* Erbi-QS.* EZ-Big.* \ |
al@19741 | 55 Jyutping.* Quick.* Simplex.* Stroke5.* Wu.* Wubi.* Ziranma.* \ |
al@19741 | 56 ZhuYin.* ZhuYin-Big.* |
al@19741 | 57 CAT="x-window|Chinese data" |
al@19741 | 58 DEPENDS="scim-tables-base wqy-bitmapfont" |
al@19741 | 59 ;; |
al@19741 | 60 *-dev) |
al@19741 | 61 copy @dev scim-make-table |
al@19741 | 62 ;; |
al@19741 | 63 *-additional) |
al@19741 | 64 copy scim/ |
al@19741 | 65 for i in $taz/*/files.list; do |
al@19741 | 66 while read j; do |
al@19741 | 67 [ -e "$fs$j" ] && rm $fs$j |
al@19741 | 68 done < $i |
al@19741 | 69 done |
al@19741 | 70 CAT="x-window|miscellaneous data" |
al@19741 | 71 DEPENDS="scim-tables-base" |
al@19741 | 72 ;; |
al@19741 | 73 esac |
rocky@3549 | 74 } |