wok-next annotate yad/receipt @ rev 16995
xterm: delete local manpage, it looks incorrect
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Aug 10 03:54:11 2014 +0200 (2014-08-10) |
parents | 4addbf8f8939 |
children | e9c56b27df13 |
rev | line source |
---|---|
devl547@5115 | 1 # SliTaz package receipt. |
devl547@5115 | 2 |
devl547@5115 | 3 PACKAGE="yad" |
pankso@15910 | 4 VERSION="0.26.0" |
pankso@16263 | 5 VERSION_NOTE="latest" |
devl547@5115 | 6 CATEGORY="utilities" |
devl547@5115 | 7 SHORT_DESC="Display graphical dialogs from shell scripts or command line" |
devl547@5115 | 8 MAINTAINER="devl547@gmail.com" |
pascal@14999 | 9 LICENSE="GPL3" |
devl547@6026 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@15910 | 11 WEB_SITE="http://sourceforge.net/projects/yad-dialog/" |
pankso@15910 | 12 WGET_URL="$SF_MIRROR/project/yad-dialog/$TARBALL" |
al@14237 | 13 TAGS="gtk2" |
pankso@16263 | 14 HOST_ARCH="i486 arm" |
slaxemulator@10098 | 15 |
slaxemulator@10098 | 16 DEPENDS="gtk+" |
pankso@16263 | 17 BUILD_DEPENDS="gtk+-dev" |
pankso@16263 | 18 |
pankso@16263 | 19 case "$ARCH" in |
pankso@16263 | 20 i?86) BUILD_DEPENDS="$BUILD_DEPENDS optipng" ;; |
pankso@16263 | 21 esac |
devl547@5115 | 22 |
devl547@5115 | 23 # Rules to configure and make the package. |
devl547@5115 | 24 compile_rules() |
devl547@5115 | 25 { |
al@14237 | 26 patch -p1 < $stuff/ru.patch |
pankso@9324 | 27 ./configure \ |
pankso@16263 | 28 --enable-icon-browser \ |
pankso@16263 | 29 $CONFIGURE_ARGS && |
pankso@16263 | 30 make && make install && |
al@14349 | 31 optipng -quiet -zc1-9 -zm1-9 -zs0-3 -f0-5 \ |
al@14349 | 32 $install/usr/share/icons/hicolor/48x48/apps/yad.png |
devl547@5115 | 33 } |
devl547@5115 | 34 |
devl547@5115 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5115 | 36 genpkg_rules() |
devl547@5115 | 37 { |
al@15134 | 38 usih=/usr/share/icons/hicolor |
pankso@16263 | 39 mkdir -p ${fs}$usih |
al@14237 | 40 cp -a $install/usr/bin $fs/usr |
pankso@16263 | 41 cp -a ${install}$usih/48x48 ${fs}$usih |
devl547@5115 | 42 } |