wok-current view yad/receipt @ rev 13136
wesnoth: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 08 16:36:30 2012 +0200 (2012-07-08) |
parents | f985854df806 |
children | 50f5543dd76b |
line source
1 # SliTaz package receipt.
3 PACKAGE="yad"
4 VERSION="0.17.1.1"
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="intltool gettext pkg-config glib-dev gtk+-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --enable-icon-browser &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin \
28 $fs/usr/share
29 cp -a $install/usr/bin/* $fs/usr/bin
30 cp -ar $install/usr/share/applications $fs/usr/share
31 cp -ar $install/usr/share/icons $fs/usr/share
32 }