wok-next annotate yad-gtk3/receipt @ rev 14388
embryo: update deps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 07:01:23 2013 +0200 (2013-04-23) |
parents | 50f5543dd76b |
children | 2b9f96603415 |
rev | line source |
---|---|
al@14237 | 1 # SliTaz package receipt. |
al@14237 | 2 |
al@14237 | 3 PACKAGE="yad-gtk3" |
al@14349 | 4 VERSION="0.20.3" |
al@14237 | 5 CATEGORY="utilities" |
al@14237 | 6 SHORT_DESC="Display graphical dialogs from shell scripts or command line (GTK+3)" |
al@14237 | 7 MAINTAINER="devl547@gmail.com" |
al@14237 | 8 TARBALL="yad-$VERSION.tar.xz" |
al@14237 | 9 WEB_SITE="http://code.google.com/p/yad/" |
al@14237 | 10 WGET_URL="http://yad.googlecode.com/files/$TARBALL" |
al@14237 | 11 TAGS="gtk3" |
al@14349 | 12 VERSION_NOTE="latest" |
al@14237 | 13 |
al@14237 | 14 DEPENDS="gtk+3" |
al@14349 | 15 BUILD_DEPENDS="gtk+3-dev optipng" |
al@14237 | 16 |
al@14237 | 17 # Rules to configure and make the package. |
al@14237 | 18 compile_rules() |
al@14237 | 19 { |
al@14237 | 20 patch -p1 < $stuff/ru.patch |
al@14237 | 21 ./configure \ |
al@14237 | 22 --with-gtk=gtk3 \ |
al@14237 | 23 --enable-icon-browser && |
al@14237 | 24 make && |
al@14237 | 25 make install |
al@14349 | 26 optipng -quiet -zc1-9 -zm1-9 -zs0-3 -f0-5 \ |
al@14349 | 27 $install/usr/share/icons/hicolor/48x48/apps/yad.png |
al@14237 | 28 } |
al@14237 | 29 |
al@14237 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14237 | 31 genpkg_rules() |
al@14237 | 32 { |
al@14237 | 33 mkdir -p \ |
al@14237 | 34 $fs/usr/share/pixmaps |
al@14237 | 35 cp -a $install/usr/bin $fs/usr |
al@14237 | 36 cp -a $install/usr/share/icons/hicolor/48x48/apps/yad.png \ |
al@14237 | 37 $fs/usr/share/pixmaps |
al@14237 | 38 } |