wok-current annotate fcitx-configtool/receipt @ rev 18415
Add sc-im
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Sep 20 16:19:59 2015 +0100 (2015-09-20) |
parents | 7896f0694ef6 |
children | e3f377fbc5f0 |
rev | line source |
---|---|
lufeng369@7691 | 1 # SliTaz package receipt. |
lufeng369@7691 | 2 |
lufeng369@7691 | 3 PACKAGE="fcitx-configtool" |
pascal@11538 | 4 VERSION="0.3.1" |
lufeng369@7691 | 5 CATEGORY="x-window" |
lufeng369@7691 | 6 SHORT_DESC="fcitx chinese input-medthod GUI configure tool" |
pascal@16047 | 7 MAINTAINER="lufeng369@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@15002 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15002 | 10 WEB_SITE="http://fcitx.googlecode.com" |
pascal@15002 | 11 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL" |
pascal@15002 | 12 |
lufeng369@7691 | 13 DEPENDS="fcitx gtk+" |
pascal@11514 | 14 BUILD_DEPENDS="fcitx libunique-dev gtk+-dev cmake intltool xorg-libXrender-dev \ |
pascal@11530 | 15 pkg-config cairo-dev pango-dev fcitx-dev file" |
lufeng369@7691 | 16 |
lufeng369@7691 | 17 # Rules to configure and make the package. |
lufeng369@7691 | 18 compile_rules() |
lufeng369@7691 | 19 { |
lufeng369@7691 | 20 cd $src |
pascal@13030 | 21 sed -i 's|<glib/.*h>|<glib.h>|' gtk/sub_config_parser.[hc] gtk/config_widget.h |
lufeng369@7691 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr |
pascal@15002 | 23 make && make DESTDIR=$DESTDIR install |
lufeng369@7691 | 24 } |
lufeng369@7691 | 25 |
lufeng369@7691 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
lufeng369@7691 | 27 genpkg_rules() |
lufeng369@7691 | 28 { |
lufeng369@7691 | 29 mkdir -p $fs/usr |
pascal@15002 | 30 cp -a $install/usr $fs/ |
lufeng369@7691 | 31 } |
lufeng369@7691 | 32 |