wok annotate yad-gtk3/receipt @ rev 17483
typos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 30 10:32:30 2014 +0100 (2014-12-30) |
parents | 2b9f96603415 |
children | 06146445ad61 |
rev | line source |
---|---|
al@14237 | 1 # SliTaz package receipt. |
al@14237 | 2 |
al@14237 | 3 PACKAGE="yad-gtk3" |
al@15134 | 4 VERSION="0.22.1" |
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" |
pascal@14999 | 8 LICENSE="GPL3" |
al@14237 | 9 TARBALL="yad-$VERSION.tar.xz" |
al@14237 | 10 WEB_SITE="http://code.google.com/p/yad/" |
al@14237 | 11 WGET_URL="http://yad.googlecode.com/files/$TARBALL" |
al@14237 | 12 TAGS="gtk3" |
al@14349 | 13 VERSION_NOTE="latest" |
al@14237 | 14 |
al@14237 | 15 DEPENDS="gtk+3" |
al@14349 | 16 BUILD_DEPENDS="gtk+3-dev optipng" |
al@14237 | 17 |
al@14237 | 18 # Rules to configure and make the package. |
al@14237 | 19 compile_rules() |
al@14237 | 20 { |
al@14237 | 21 patch -p1 < $stuff/ru.patch |
al@14237 | 22 ./configure \ |
al@14237 | 23 --with-gtk=gtk3 \ |
al@14237 | 24 --enable-icon-browser && |
al@14237 | 25 make && |
al@14237 | 26 make install |
al@14349 | 27 optipng -quiet -zc1-9 -zm1-9 -zs0-3 -f0-5 \ |
al@14349 | 28 $install/usr/share/icons/hicolor/48x48/apps/yad.png |
al@14237 | 29 } |
al@14237 | 30 |
al@14237 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14237 | 32 genpkg_rules() |
al@14237 | 33 { |
al@15134 | 34 usih=/usr/share/icons/hicolor |
al@15134 | 35 mkdir -p $fs$usih |
al@14237 | 36 cp -a $install/usr/bin $fs/usr |
al@15134 | 37 cp -a $install$usih/48x48 $fs$usih |
al@14237 | 38 } |