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