wok-6.x rev 21209
updated scim (1.4.9 -> 1.4.18)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 09 16:26:58 2019 +0100 (2019-04-09) |
parents | 170bfd11ff16 |
children | 71849cee52f5 |
files | scim/receipt |
line diff
1.1 --- a/scim/receipt Tue Apr 09 12:13:22 2019 +0300 1.2 +++ b/scim/receipt Tue Apr 09 16:26:58 2019 +0100 1.3 @@ -1,38 +1,42 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 PACKAGE="scim" 1.7 -VERSION="1.4.9" 1.8 +VERSION="1.4.18" 1.9 CATEGORY="utilities" 1.10 SHORT_DESC="Smart Common Input Method (SCIM)." 1.11 MAINTAINER="rocky@slitaz.org" 1.12 LICENSE="LGPL2.1" 1.13 +WEB_SITE="http://www.scim-im.org/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://www.scim-im.org/" 1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 +WGET_URL="https:/github.com/scim-im/$PACKAGE/archive/$VERSION.tar.gz" 1.19 + 1.20 +DEPENDS="gcc-lib-base gtk+" 1.21 +BUILD_DEPENDS="autoconf automake gtk+-dev" 1.22 CONFIG_FILES="/etc/scim/config /etc/scim/global" 1.23 1.24 -DEPENDS="gtk+ gcc-lib-base" 1.25 -BUILD_DEPENDS="gtk+-dev" 1.26 - 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - while read file; do 1.31 - [ -f done.$file ] && continue 1.32 - echo "Apply $file..." 1.33 - patch -p1 -i $stuff/$file || return 1 1.34 - touch done.$file 1.35 - done <<EOT 1.36 -scim-glibc-2.10.patch 1.37 -EOT 1.38 +# while read file; do 1.39 +# [ -f done.$file ] && continue 1.40 +# echo "Apply $file..." 1.41 +# patch -p1 -i $stuff/$file || return 1 1.42 +# touch done.$file 1.43 +# done <<EOT 1.44 +#scim-glibc-2.10.patch 1.45 +#EOT 1.46 1.47 - ./configure \ 1.48 - --prefix=/usr \ 1.49 - --sysconfdir=/etc \ 1.50 - --with-x \ 1.51 + ./bootstrap && 1.52 + ./configure \ 1.53 + --prefix=/usr \ 1.54 + --sysconfdir=/etc \ 1.55 + --with-x \ 1.56 --with-gtk-im-module-dir=$(ls -d /usr/lib/gtk-2*/2*/immodules/) \ 1.57 - --mandir=/usr/share/man \ 1.58 - --infodir=/usr/share/info \ 1.59 + --mandir=/usr/share/man \ 1.60 + --infodir=/usr/share/info \ 1.61 $CONFIGURE_ARGS 2>&1 | grep -v po/POTFILES && 1.62 - make $MAKEFLAGS && 1.63 + make $MAKEFLAGS -j 1 && 1.64 make DESTDIR=$DESTDIR install 1.65 } 1.66 1.67 @@ -40,14 +44,18 @@ 1.68 genpkg_rules() 1.69 { 1.70 mkdir -p $fs/usr/share/pixmaps 1.71 - cp -a $install/etc $fs/ 1.72 - cp -a $install/usr/bin $fs/usr 1.73 - cp -a $install/usr/lib $fs/usr 1.74 - cp -a $install/usr/share/scim $fs/usr/share 1.75 - cp $install/usr/share/pixmaps/scim-setup.png $fs/usr/share/pixmaps 1.76 + 1.77 + cp -a $install/etc $fs/ 1.78 + cp -a $install/usr/bin $fs/usr 1.79 + cp -a $install/usr/lib $fs/usr 1.80 + cp -a $install/usr/share/scim $fs/usr/share 1.81 + cp $install/usr/share/pixmaps/scim-setup.png \ 1.82 + $fs/usr/share/pixmaps 1.83 + 1.84 find $fs/usr/lib -name '*.la' -exec rm {} \; 1.85 find $fs/usr/lib -name '*.a' -exec rm {} \; 1.86 rm -rf $fs/usr/lib/pkgconfig 1.87 + 1.88 chmod +x $fs/usr/bin/scim-setup 1.89 } 1.90