wok-undigest view Qt4-qca/receipt @ rev 288
libgnomeui-dev: dont build without SHORT_DESC and sync version
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jun 02 00:45:09 2011 +0200 (2011-06-02) |
parents | 0635cda29d99 |
children |
line source
1 # SliTaz package receipt.
3 NAME="qca"
4 PACKAGE="Qt4-$NAME"
5 MAJORVERSION="2.0"
6 VERSION="2.0.3"
7 CATEGORY="development"
8 SHORT_DESC="The Qt Cryptographic Architecture (QCA)."
9 MAINTAINER="ben@seawolfsanctuary.com"
10 TARBALL="$NAME-$VERSION.tar.bz2"
11 WEB_SITE="http://delta.affinix.com/$NAME"
12 WGET_URL="http://delta.affinix.com/download/$NAME/$MAJORVERSION/$TARBALL"
14 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
15 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
16 libQtOpenGL libQtSql libQtWebkit"
17 BUILD_DEPENDS="xorg-libX11-dev dbus-dev Qt4-dev qmake slitaz-toolchain"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 [ -d $NAME-$VERSION ] && mv $NAME-$VERSION $src
23 cd $src
24 chmod +x configure
25 ./configure \
26 --prefix=/usr \
27 --disable-tests && \
28 make -j4 && make DESTDIR=$_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 for DIR in bin lib include ; do
36 cp -a $WOK/$PACKAGE/$NAME-$VERSION/$DIR $fs/usr
37 done
39 # Copy .desktop file:
40 # cp -a $WOK/$PACKAGE/stuff/* $fs/usr
41 }