wok view libjreen/receipt @ rev 25652
Up ntfs-3g (2022.10.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 06 11:59:08 2024 +0000 (9 months ago) |
parents | 3c71bb4367c3 |
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="https://github.com/euroelessar/jreen"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/euroelessar/jreen/archive/refs/tags/v$VERSION.tar.gz"
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 - $WEB_SITE/tags 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;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 }