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

libtdb: no more tdb.mk
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 21:01:32 2013 +0000 (2013-08-14)
parents 695e22e54749
children 2a35430dc9ab
line source
1 # SliTaz package receipt.
3 PACKAGE="yad"
4 VERSION="0.20.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Display graphical dialogs from shell scripts or command line"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://code.google.com/p/yad/"
11 WGET_URL="http://yad.googlecode.com/files/$TARBALL"
12 TAGS="gtk2"
13 VERSION_NOTE="latest"
15 DEPENDS="gtk+"
16 BUILD_DEPENDS="gtk+-dev optipng"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch -p1 < $stuff/ru.patch
22 ./configure \
23 --enable-icon-browser &&
24 make &&
25 make install
26 optipng -quiet -zc1-9 -zm1-9 -zs0-3 -f0-5 \
27 $install/usr/share/icons/hicolor/48x48/apps/yad.png
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p \
34 $fs/usr/share/pixmaps
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/icons/hicolor/48x48/apps/yad.png \
37 $fs/usr/share/pixmaps
38 }