wok-current annotate scim-pinyin/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | 72c63c9d9f75 |
children | 667a6ebad331 |
rev | line source |
---|---|
pascal@1803 | 1 # SliTaz package receipt. |
pascal@1803 | 2 |
pascal@1803 | 3 PACKAGE="scim-pinyin" |
Hans-G?nter@21213 | 4 VERSION="0.5.92" |
pascal@1803 | 5 CATEGORY="utilities" |
rocky@3532 | 6 SHORT_DESC="Chinese PinYin input for SCIM." |
rocky@3532 | 7 MAINTAINER="rocky@slitaz.org" |
pascal@15132 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21213 | 9 WEB_SITE="http://www.scim-im.org/" |
Hans-G?nter@21213 | 10 |
pascal@1803 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rocky@3532 | 12 WGET_URL="$SF_MIRROR/scim/$TARBALL" |
rocky@3532 | 13 #WGET_URL="http://kent.dl.sourceforge.net/sourceforge/scim/$TARBALL" |
pascal@1803 | 14 |
pascal@15132 | 15 DEPENDS="scim" |
Hans-G?nter@21216 | 16 BUILD_DEPENDS="automake gtk+-dev libtool scim-dev" |
pascal@15132 | 17 |
pascal@1803 | 18 # Rules to configure and make the package. |
pascal@1803 | 19 compile_rules() |
pascal@1803 | 20 { |
Hans-G?nter@21213 | 21 # while read file; do |
Hans-G?nter@21213 | 22 # [ -f done.$file ] && continue |
Hans-G?nter@21213 | 23 # echo "Apply $file..." |
Hans-G?nter@21213 | 24 # patch -p1 < $stuff/$file || return 1 |
Hans-G?nter@21213 | 25 # touch done.$file |
Hans-G?nter@21213 | 26 # done <<EOT |
Hans-G?nter@21213 | 27 #cstring-gcc43.patch |
Hans-G?nter@21213 | 28 #EOT |
Hans-G?nter@21213 | 29 |
Hans-G?nter@21214 | 30 ./bootstrap && |
Hans-G?nter@21213 | 31 ./configure \ |
Hans-G?nter@21213 | 32 --prefix=/usr \ |
Hans-G?nter@21213 | 33 --mandir=/usr/share/man \ |
Hans-G?nter@21213 | 34 --infodir=/usr/share/info \ |
Hans-G?nter@21213 | 35 --disable-static \ |
Hans-G?nter@21213 | 36 $CONFIGURE_ARGS && |
Hans-G?nter@21213 | 37 make -j 1 && |
Hans-G?nter@21213 | 38 make DESTDIR=$DESTDIR install |
pascal@1803 | 39 } |
pascal@1803 | 40 |
pascal@1803 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1803 | 42 genpkg_rules() |
pascal@1803 | 43 { |
Hans-G?nter@21213 | 44 mkdir -p $fs/usr/share |
Hans-G?nter@21213 | 45 |
Hans-G?nter@21213 | 46 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@21213 | 47 cp -a $install/usr/share/scim $fs/usr/share |
Hans-G?nter@21213 | 48 |
Hans-G?nter@21213 | 49 find $fs/usr/lib -name '*.la' -exec rm {} \; |
pascal@1803 | 50 } |