wok-6.x annotate yad/receipt @ rev 16207
Google chrome needs nss as a dependancy
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon Mar 31 05:11:59 2014 +0000 (2014-03-31) |
parents | 2a35430dc9ab |
children | 70a0e8ec8955 |
rev | line source |
---|---|
devl547@5115 | 1 # SliTaz package receipt. |
devl547@5115 | 2 |
devl547@5115 | 3 PACKAGE="yad" |
pankso@15910 | 4 VERSION="0.26.0" |
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" |
pascal@14999 | 8 LICENSE="GPL3" |
devl547@6026 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@15910 | 10 WEB_SITE="http://sourceforge.net/projects/yad-dialog/" |
pankso@15910 | 11 WGET_URL="$SF_MIRROR/project/yad-dialog/$TARBALL" |
al@14237 | 12 TAGS="gtk2" |
al@14349 | 13 VERSION_NOTE="latest" |
slaxemulator@10098 | 14 |
slaxemulator@10098 | 15 DEPENDS="gtk+" |
al@14349 | 16 BUILD_DEPENDS="gtk+-dev optipng" |
devl547@5115 | 17 |
devl547@5115 | 18 # Rules to configure and make the package. |
devl547@5115 | 19 compile_rules() |
devl547@5115 | 20 { |
al@14237 | 21 patch -p1 < $stuff/ru.patch |
pankso@9324 | 22 ./configure \ |
pankso@9324 | 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 |
devl547@5115 | 28 } |
devl547@5115 | 29 |
devl547@5115 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5115 | 31 genpkg_rules() |
devl547@5115 | 32 { |
al@15134 | 33 usih=/usr/share/icons/hicolor |
al@15134 | 34 mkdir -p $fs$usih |
al@14237 | 35 cp -a $install/usr/bin $fs/usr |
al@15134 | 36 cp -a $install$usih/48x48 $fs$usih |
devl547@5115 | 37 } |