wok-next annotate qutim/receipt @ rev 15055
lorcon-old: create .depend
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 21:48:15 2013 +0000 (2013-08-12) |
parents | 21e11c3d31bb |
children | 23c3aed67cd9 |
rev | line source |
---|---|
devl547@13897 | 1 # SliTaz package receipt. |
devl547@13897 | 2 |
devl547@13897 | 3 PACKAGE="qutim" |
devl547@13897 | 4 VERSION="0.3.1" |
devl547@13897 | 5 CATEGORY="network" |
devl547@13897 | 6 SHORT_DESC="Multiprotocol IM, written in qt4" |
devl547@13897 | 7 MAINTAINER="devl547@gmail.com" |
devl547@13897 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
devl547@13897 | 9 WEB_SITE="http://qutim.org" |
devl547@13897 | 10 WGET_URL="$WEB_SITE/dwnl/40/$TARBALL" |
devl547@13897 | 11 |
devl547@13901 | 12 DEPENDS="qt4 qca qt4-phonon xorg-libXss libjreen Qt4-qca-ossl" |
monghitri@13992 | 13 BUILD_DEPENDS="Qt4-dev qmake cmake qca-dev xorg-libXss-dev dbus-dev libjreen-dev mesa-dev" |
devl547@13897 | 14 |
devl547@13897 | 15 # Rules to configure and make the package. |
devl547@13897 | 16 compile_rules() |
devl547@13897 | 17 { |
devl547@13897 | 18 cd $src |
devl547@13897 | 19 mkdir ../qutim-build && cd ../qutim-build |
devl547@13900 | 20 cmake ../$PACKAGE-$VERSION -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release \ |
devl547@13900 | 21 -DQUTIM_ENABLE_ALL_PLUGINS=on && |
devl547@13897 | 22 make $MAKEOPTS && |
devl547@13897 | 23 make DESTDIR=$DESTDIR install |
devl547@13897 | 24 } |
devl547@13897 | 25 |
devl547@13897 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@13897 | 27 genpkg_rules() |
devl547@13897 | 28 { |
devl547@13897 | 29 mkdir -p $fs/usr/ |
devl547@13897 | 30 cp -a $install/usr/bin $fs/usr |
devl547@13900 | 31 cp -a $install/usr/lib $fs/usr |
devl547@13897 | 32 cp -a $install/usr/share $fs/usr |
devl547@13897 | 33 } |