wok-next annotate scim-pinyin/receipt @ rev 20143
postgresql: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 11:18:25 2017 +0100 (2017-11-01) |
parents | 9278a60d6895 |
children | bce36a298f1e |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pascal@1803 | 2 |
pascal@1803 | 3 PACKAGE="scim-pinyin" |
al@19741 | 4 VERSION="0.5.92" |
pascal@1803 | 5 CATEGORY="utilities" |
al@19741 | 6 SHORT_DESC="Chinese PinYin input for SCIM" |
rocky@3532 | 7 MAINTAINER="rocky@slitaz.org" |
pascal@15132 | 8 LICENSE="LGPL2.1" |
al@19741 | 9 WEB_SITE="https://github.com/scim-im/scim-pinyin" |
al@19741 | 10 |
pascal@1803 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19741 | 12 WGET_URL="$WEB_SITE/archive/$TARBALL" |
pascal@1803 | 13 |
al@19741 | 14 BUILD_DEPENDS="automake gettext libtool scim-dev" |
al@19741 | 15 SPLIT="scim-pinyin-dev" |
pascal@15132 | 16 |
pascal@1803 | 17 # Rules to configure and make the package. |
pascal@1803 | 18 compile_rules() |
pascal@1803 | 19 { |
al@19741 | 20 ./bootstrap && |
al@19741 | 21 |
al@19741 | 22 ./configure \ |
al@19741 | 23 --disable-static \ |
al@19741 | 24 $CONFIGURE_ARGS && |
al@19741 | 25 make && |
al@19741 | 26 make install |
pascal@1803 | 27 } |
pascal@1803 | 28 |
pascal@1803 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1803 | 30 genpkg_rules() |
pascal@1803 | 31 { |
al@19741 | 32 case $PACKAGE in |
al@19741 | 33 scim-pinyin) |
al@19741 | 34 copy @std |
al@19741 | 35 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \ |
al@19779 | 36 harfbuzz libffi libltdl liblzma libpng libxcb libxml2 pango \ |
al@19741 | 37 pcre pixman scim xorg-libX11 xorg-libXau xorg-libXdmcp \ |
al@19741 | 38 xorg-libXext xorg-libXrender zlib" |
al@19741 | 39 ;; |
al@19741 | 40 *-dev) |
al@19741 | 41 copy @dev |
al@19741 | 42 DEPENDS="atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \ |
al@19741 | 43 gdk-pixbuf-dev glib-dev glibc-dev gtk+-dev harfbuzz-dev libffi-dev \ |
al@19779 | 44 liblzma-dev libpng-dev libtool libxcb-dev libxml2-dev \ |
al@19741 | 45 pango-dev pcre-dev pixman-dev scim-dev xorg-libX11-dev \ |
al@19741 | 46 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ |
al@19741 | 47 xorg-libXrender-dev zlib-dev" |
al@19741 | 48 ;; |
al@19741 | 49 esac |
pascal@1803 | 50 } |