wok-current annotate qutim/receipt @ rev 24617
updated libgphoto2 and libgphoto2-dev (2.5.24 -> 2.5.29)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 09:33:31 2022 +0100 (2022-03-07) |
parents | 6977df3925cf |
children |
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" |
pascal@15601 | 8 LICENSE="GPL LGPL CC-BY" |
devl547@13897 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
devl547@13897 | 10 WEB_SITE="http://qutim.org" |
devl547@13897 | 11 WGET_URL="$WEB_SITE/dwnl/40/$TARBALL" |
devl547@13897 | 12 |
devl547@13901 | 13 DEPENDS="qt4 qca qt4-phonon xorg-libXss libjreen Qt4-qca-ossl" |
monghitri@13992 | 14 BUILD_DEPENDS="Qt4-dev qmake cmake qca-dev xorg-libXss-dev dbus-dev libjreen-dev mesa-dev" |
devl547@13897 | 15 |
pascal@24288 | 16 current_version() |
pascal@24288 | 17 { |
pascal@24288 | 18 wget -O - $WEB_SITE/download 2>/dev/null | \ |
pascal@24288 | 19 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24288 | 20 } |
pascal@24288 | 21 |
devl547@13897 | 22 # Rules to configure and make the package. |
devl547@13897 | 23 compile_rules() |
devl547@13897 | 24 { |
pascal@16609 | 25 sed -i -e 's/ moc_options /&moc_target /' \ |
pascal@16609 | 26 -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \ |
pascal@16609 | 27 core/cmake/QutIMMacros.cmake |
devl547@13897 | 28 mkdir ../qutim-build && cd ../qutim-build |
devl547@13900 | 29 cmake ../$PACKAGE-$VERSION -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release \ |
devl547@13900 | 30 -DQUTIM_ENABLE_ALL_PLUGINS=on && |
devl547@13897 | 31 make $MAKEOPTS && |
devl547@13897 | 32 make DESTDIR=$DESTDIR install |
devl547@13897 | 33 } |
devl547@13897 | 34 |
devl547@13897 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@13897 | 36 genpkg_rules() |
devl547@13897 | 37 { |
devl547@13897 | 38 mkdir -p $fs/usr/ |
devl547@13897 | 39 cp -a $install/usr/bin $fs/usr |
devl547@13900 | 40 cp -a $install/usr/lib $fs/usr |
devl547@13897 | 41 cp -a $install/usr/share $fs/usr |
devl547@13897 | 42 } |