wok-next diff fcitx-configtool/receipt @ rev 15860
libmowgli: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 30 09:02:32 2014 +0000 (2014-01-30) |
parents | 465c8216c4d2 |
children | 8d64ce80ab95 |
line diff
1.1 --- a/fcitx-configtool/receipt Mon Jun 11 21:57:10 2012 +0200 1.2 +++ b/fcitx-configtool/receipt Thu Jan 30 09:02:32 2014 +0000 1.3 @@ -5,12 +5,14 @@ 1.4 CATEGORY="x-window" 1.5 SHORT_DESC="fcitx chinese input-medthod GUI configure tool" 1.6 MAINTAINER="lufeng369@gmail.com" 1.7 +LICENSE="GPL2" 1.8 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.9 +WEB_SITE="http://fcitx.googlecode.com" 1.10 +WGET_URL="http://fcitx.googlecode.com/files/$TARBALL" 1.11 + 1.12 DEPENDS="fcitx gtk+" 1.13 BUILD_DEPENDS="fcitx libunique-dev gtk+-dev cmake intltool xorg-libXrender-dev \ 1.14 pkg-config cairo-dev pango-dev fcitx-dev file" 1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 -WEB_SITE="http://fcitx.googlecode.com" 1.17 -WGET_URL="http://fcitx.googlecode.com/files/$TARBALL" 1.18 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 @@ -18,13 +20,13 @@ 1.22 cd $src 1.23 sed -i 's|<glib/.*h>|<glib.h>|' gtk/sub_config_parser.[hc] gtk/config_widget.h 1.24 cmake -DCMAKE_INSTALL_PREFIX=/usr 1.25 - make && make DESTDIR=$PWD/_pkg install 1.26 + make && make DESTDIR=$DESTDIR install 1.27 } 1.28 1.29 # Rules to gen a SliTaz package suitable for Tazpkg. 1.30 genpkg_rules() 1.31 { 1.32 mkdir -p $fs/usr 1.33 - cp -a $_pkg/usr $fs/ 1.34 + cp -a $install/usr $fs/ 1.35 } 1.36