wok-4.x annotate yad/receipt @ rev 6330
Make sure package receipt exists before source in check_commit function. I hope this causes no problems.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Sep 18 16:45:22 2010 +0000 (2010-09-18) |
parents | 2c73cfc3479f |
children | 16b8038c1603 |
rev | line source |
---|---|
devl547@5115 | 1 # SliTaz package receipt. |
devl547@5115 | 2 |
devl547@5115 | 3 PACKAGE="yad" |
devl547@6026 | 4 VERSION="0.3.1" |
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" |
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 } |