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