wok annotate fcitx-configtool/receipt @ rev 15002

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 21:12:16 2013 +0000 (2013-08-10)
parents 465c8216c4d2
children 8d64ce80ab95
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@13027 7 MAINTAINER="lufeng369@gmail.com"
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