wok-next diff yad-html/receipt @ rev 19224
Add bsc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 21 15:47:21 2016 +0200 (2016-06-21) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/yad-html/receipt Tue Jun 21 15:47:21 2016 +0200 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="yad-html" 1.7 +VERSION="0.28.1" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="Display graphical dialogs from shell scripts or command line (with HTML widget)" 1.10 +MAINTAINER="devl547@gmail.com" 1.11 +LICENSE="GPL3" 1.12 +SOURCE="yad" 1.13 +PROVIDE="yad:libwebkit" 1.14 +TARBALL="$SOURCE-$VERSION.tar.xz" 1.15 +WEB_SITE="http://sourceforge.net/projects/yad-dialog/" 1.16 +WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL" 1.17 +TAGS="gtk2" 1.18 + 1.19 +DEPENDS="gtk+ libwebkit" 1.20 +BUILD_DEPENDS="gtk+-dev optipng libwebkit-dev" 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + ./configure \ 1.26 + --enable-icon-browser \ 1.27 + --enable-html \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && make install && 1.30 + optipng -quiet -strip all -o7 -zm1-9 \ 1.31 + $install/usr/share/icons/hicolor/48x48/apps/yad.png 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + usih=/usr/share/icons/hicolor 1.38 + mkdir -p ${fs}$usih 1.39 + cp -a $install/usr/bin $fs/usr 1.40 + cp -a ${install}$usih/48x48 ${fs}$usih 1.41 +}