wok-next view yad/receipt @ rev 11840

perl-html-parser: Sync with wok-tank.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 27 01:06:36 2012 -0500 (2012-02-27)
parents e08480b3d98b
children f985854df806
line source
1 # SliTaz package receipt.
3 PACKAGE="yad"
4 VERSION="0.16.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Display graphical dialogs from shell scripts or command line"
7 MAINTAINER="devl547@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://code.google.com/p/yad/"
10 WGET_URL="http://yad.googlecode.com/files/$TARBALL"
12 DEPENDS="gtk+"
13 BUILD_DEPENDS="acl intltool gettext pkg-config glib-dev gtk+-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 [ -f install-sh ] && chmod +x install-sh
20 ./configure \
21 --enable-icon-browser &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin \
29 $fs/usr/share
30 cp -a $_pkg/usr/bin/* $fs/usr/bin
31 cp -ar $_pkg/usr/share/applications $fs/usr/share
32 cp -ar $_pkg/usr/share/icons $fs/usr/share
33 }