wok-6.x annotate qutim/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (19 months ago)
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 }