wok-current annotate yad-gtk3/receipt @ rev 18918

Add brotli
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 24 16:36:21 2016 +0100 (2016-02-24)
parents 2a35430dc9ab
children 8aad009a4685
rev   line source
al@14237 1 # SliTaz package receipt.
al@14237 2
al@14237 3 PACKAGE="yad-gtk3"
al@18045 4 VERSION="0.28.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@18045 9 SOURCE="yad"
al@18045 10 PROVIDE="yad:gtk+3"
al@18045 11 TARBALL="$SOURCE-$VERSION.tar.xz"
al@18045 12 WEB_SITE="http://sourceforge.net/projects/yad-dialog/"
al@18045 13 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
al@14237 14 TAGS="gtk3"
al@14237 15
al@14237 16 DEPENDS="gtk+3"
al@14349 17 BUILD_DEPENDS="gtk+3-dev optipng"
al@14237 18
al@14237 19 # Rules to configure and make the package.
al@14237 20 compile_rules()
al@14237 21 {
al@18045 22 #patch -p1 < $stuff/ru.patch
al@14237 23 ./configure \
al@14237 24 --with-gtk=gtk3 \
al@14237 25 --enable-icon-browser &&
al@18045 26 make && 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 }