wok annotate yad/receipt @ rev 17334
add aespipe & dcron
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 05 16:03:16 2014 +0100 (2014-11-05) |
parents | 70a0e8ec8955 |
children | 2bdb305cb035 |
rev | line source |
---|---|
devl547@5115 | 1 # SliTaz package receipt. |
devl547@5115 | 2 |
devl547@5115 | 3 PACKAGE="yad" |
al@17257 | 4 VERSION="0.27.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/" |
al@17257 | 11 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL" |
al@14237 | 12 TAGS="gtk2" |
pankso@16263 | 13 HOST_ARCH="i486 arm" |
slaxemulator@10098 | 14 |
slaxemulator@10098 | 15 DEPENDS="gtk+" |
pankso@16263 | 16 BUILD_DEPENDS="gtk+-dev" |
pankso@16263 | 17 |
pankso@16263 | 18 case "$ARCH" in |
pankso@16263 | 19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS optipng" ;; |
pankso@16263 | 20 esac |
devl547@5115 | 21 |
devl547@5115 | 22 # Rules to configure and make the package. |
devl547@5115 | 23 compile_rules() |
devl547@5115 | 24 { |
al@17257 | 25 #patch -p1 < $stuff/ru.patch |
pankso@9324 | 26 ./configure \ |
pankso@16263 | 27 --enable-icon-browser \ |
pankso@16263 | 28 $CONFIGURE_ARGS && |
pankso@16263 | 29 make && make install && |
al@17257 | 30 optipng -quiet -strip all -o7 -zm1-9 \ |
al@14349 | 31 $install/usr/share/icons/hicolor/48x48/apps/yad.png |
devl547@5115 | 32 } |
devl547@5115 | 33 |
devl547@5115 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5115 | 35 genpkg_rules() |
devl547@5115 | 36 { |
al@15134 | 37 usih=/usr/share/icons/hicolor |
pankso@16263 | 38 mkdir -p ${fs}$usih |
al@14237 | 39 cp -a $install/usr/bin $fs/usr |
pankso@16263 | 40 cp -a ${install}$usih/48x48 ${fs}$usih |
devl547@5115 | 41 } |