wok annotate yad/receipt @ rev 5447
linmodem-intel-536ep: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 13:17:38 2010 +0200 (2010-05-05) |
parents | c64834e1639a |
children | 2c73cfc3479f |
rev | line source |
---|---|
devl547@5115 | 1 # SliTaz package receipt. |
devl547@5115 | 2 |
devl547@5115 | 3 PACKAGE="yad" |
devl547@5215 | 4 VERSION="0.2.0" |
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@5115 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
devl547@5115 | 9 WEB_SITE="http://code.google.com/p/yad/" |
devl547@5115 | 10 WGET_URL="http://yad.googlecode.com/files/$TARBALL" |
devl547@5115 | 11 BUILD_DEPENDS="acl intltool gettext pkg-config glib-dev gtk+-dev" |
devl547@5115 | 12 |
devl547@5115 | 13 # Rules to configure and make the package. |
devl547@5115 | 14 compile_rules() |
devl547@5115 | 15 { |
devl547@5115 | 16 cd $src |
devl547@5115 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
devl547@5115 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && |
devl547@5115 | 19 make && |
devl547@5115 | 20 make DESTDIR=$PWD/_pkg install |
devl547@5115 | 21 } |
devl547@5115 | 22 |
devl547@5115 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5115 | 24 genpkg_rules() |
devl547@5115 | 25 { |
devl547@5115 | 26 mkdir -p $fs/usr |
devl547@5115 | 27 cp -a $_pkg/usr/bin $fs/usr |
devl547@5115 | 28 } |