wok-next annotate yad/receipt @ rev 18288

Up: tazpkg(831), tzdata(2015f)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 13 00:47:16 2015 +0300 (2015-08-13)
parents 1615f4391fb0
children
rev   line source
devl547@5115 1 # SliTaz package receipt.
devl547@5115 2
devl547@5115 3 PACKAGE="yad"
al@17952 4 VERSION="0.28.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"
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
al@18045 15 DEPENDS="gtk+"
pankso@16263 16 BUILD_DEPENDS="gtk+-dev"
pankso@16263 17
pankso@16263 18 case "$ARCH" in
al@18045 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 &&
al@18045 29 make && make install
al@18045 30 # Skip optipng for arm arch
al@18045 31 [ -x '/usr/bin/optipng' ] && optipng -quiet -strip all -o7 -zm1-9 \
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 }