wok-6.x view yad/receipt @ rev 16678

Add virtual packages Qt4, libcairo-compmgr, libpurple
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 16 09:47:35 2014 +0000 (2014-05-16)
parents 4addbf8f8939
children e9c56b27df13
line source
1 # SliTaz package receipt.
3 PACKAGE="yad"
4 VERSION="0.26.0"
5 VERSION_NOTE="latest"
6 CATEGORY="utilities"
7 SHORT_DESC="Display graphical dialogs from shell scripts or command line"
8 MAINTAINER="devl547@gmail.com"
9 LICENSE="GPL3"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WEB_SITE="http://sourceforge.net/projects/yad-dialog/"
12 WGET_URL="$SF_MIRROR/project/yad-dialog/$TARBALL"
13 TAGS="gtk2"
14 HOST_ARCH="i486 arm"
16 DEPENDS="gtk+"
17 BUILD_DEPENDS="gtk+-dev"
19 case "$ARCH" in
20 i?86) BUILD_DEPENDS="$BUILD_DEPENDS optipng" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 patch -p1 < $stuff/ru.patch
27 ./configure \
28 --enable-icon-browser \
29 $CONFIGURE_ARGS &&
30 make && make install &&
31 optipng -quiet -zc1-9 -zm1-9 -zs0-3 -f0-5 \
32 $install/usr/share/icons/hicolor/48x48/apps/yad.png
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 usih=/usr/share/icons/hicolor
39 mkdir -p ${fs}$usih
40 cp -a $install/usr/bin $fs/usr
41 cp -a ${install}$usih/48x48 ${fs}$usih
42 }