wok-current view attica/receipt @ rev 25540

Update some web_site/wget_url with https
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 18:12:54 2023 +0000 (21 months ago)
parents c15fedfb9582
children
line source
1 # SliTaz package receipt.
3 PACKAGE="attica"
4 VERSION="0.4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Qt library that implements the Open Collaboration Services API."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://kde.org/"
11 WGET_URL="https://download.kde.org/stable/$PACKAGE/$TARBALL"
13 DEPENDS="libQtCore libQtNetwork"
14 BUILD_DEPENDS="cmake qmake Qt4-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - 'https://invent.kde.org/frameworks/attica/-/tags?sort=updated_desc' 2>/dev/null | \
20 sed '/item-title/!d;s|.*>v||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 mkdir -p build && cd build
28 cmake \
29 -DCMAKE_INSTALL_PREFIX=/usr \
30 .. &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }