wok-6.x view libjreen/receipt @ rev 24842
updated libunistring and libunistring-dev (0.9.10 -> 1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 09:45:42 2022 +0100 (2022-03-25) |
parents | 573f08ef81b5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libjreen"
4 VERSION="1.2.0"
5 CATEGORY="misc"
6 SHORT_DESC="Qt jabber library, written in C++."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://qutim.org/jreen"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://qutim.org/dwnl/73/$TARBALL"
14 DEPENDS="libidn libQtCore libQtNetwork qca"
15 BUILD_DEPENDS="cmake gsasl-dev libidn-dev qca-dev qmake Qt4-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - http://qutim.org/jreen 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # 1.2.0 no such file
28 # sed -i -e 's/ moc_options /&moc_target /' \
29 # -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \
30 # cmake/jreenMacros.cmake
32 mkdir build &&
33 cd build
34 cmake .. \
35 -DCMAKE_INSTALL_PREFIX=/usr &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/
43 cp -a $install/usr/lib $fs/usr
44 }