wok view yad/receipt @ rev 15692

dpkg: Fix missing mkdir command
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 08:21:32 2013 +0100 (2013-12-21)
parents 2b9f96603415
children 4addbf8f8939
line source
1 # SliTaz package receipt.
3 PACKAGE="yad"
4 VERSION="0.22.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Display graphical dialogs from shell scripts or command line"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://code.google.com/p/yad/"
11 WGET_URL="http://yad.googlecode.com/files/$TARBALL"
12 TAGS="gtk2"
13 VERSION_NOTE="latest"
15 DEPENDS="gtk+"
16 BUILD_DEPENDS="gtk+-dev optipng"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch -p1 < $stuff/ru.patch
22 ./configure \
23 --enable-icon-browser &&
24 make &&
25 make install
26 optipng -quiet -zc1-9 -zm1-9 -zs0-3 -f0-5 \
27 $install/usr/share/icons/hicolor/48x48/apps/yad.png
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 usih=/usr/share/icons/hicolor
34 mkdir -p $fs$usih
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install$usih/48x48 $fs$usih
37 }