wok-current annotate yad/receipt @ rev 15275

clipit: remove icon (sorry, guys), move autostart item back to /etc/...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 25 19:03:47 2013 +0300 (2013-09-25)
parents 2b9f96603415
children 4addbf8f8939
rev   line source
devl547@5115 1 # SliTaz package receipt.
devl547@5115 2
devl547@5115 3 PACKAGE="yad"
al@15134 4 VERSION="0.22.1"
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"
devl547@5115 10 WEB_SITE="http://code.google.com/p/yad/"
devl547@5115 11 WGET_URL="http://yad.googlecode.com/files/$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 }