wok-next annotate yad/receipt @ rev 11763
up yad (0.16.3)
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Feb 22 15:03:23 2012 -0800 (2012-02-22) |
parents | e08480b3d98b |
children | f985854df806 |
rev | line source |
---|---|
devl547@5115 | 1 # SliTaz package receipt. |
devl547@5115 | 2 |
devl547@5115 | 3 PACKAGE="yad" |
samuel_trassare@11763 | 4 VERSION="0.16.3" |
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" |
devl547@6026 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
devl547@5115 | 9 WEB_SITE="http://code.google.com/p/yad/" |
devl547@5115 | 10 WGET_URL="http://yad.googlecode.com/files/$TARBALL" |
slaxemulator@10098 | 11 |
slaxemulator@10098 | 12 DEPENDS="gtk+" |
devl547@5115 | 13 BUILD_DEPENDS="acl intltool gettext pkg-config glib-dev gtk+-dev" |
devl547@5115 | 14 |
devl547@5115 | 15 # Rules to configure and make the package. |
devl547@5115 | 16 compile_rules() |
devl547@5115 | 17 { |
devl547@5115 | 18 cd $src |
slaxemulator@11124 | 19 [ -f install-sh ] && chmod +x install-sh |
pankso@9324 | 20 ./configure \ |
pankso@9324 | 21 --enable-icon-browser && |
pankso@9324 | 22 make && make install |
devl547@5115 | 23 } |
devl547@5115 | 24 |
devl547@5115 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5115 | 26 genpkg_rules() |
devl547@5115 | 27 { |
samuel_trassare@11763 | 28 mkdir -p $fs/usr/bin \ |
samuel_trassare@11763 | 29 $fs/usr/share |
samuel_trassare@11763 | 30 cp -a $_pkg/usr/bin/* $fs/usr/bin |
samuel_trassare@11763 | 31 cp -ar $_pkg/usr/share/applications $fs/usr/share |
samuel_trassare@11763 | 32 cp -ar $_pkg/usr/share/icons $fs/usr/share |
devl547@5115 | 33 } |