wok annotate owncloud-client/receipt @ rev 24920

updated mp (5.2.10 -> 5.58)
author Hans-G?nter Theisgen
date Sun Apr 10 07:48:27 2022 +0100 (2022-04-10)
parents 380ffe05937a
children c85bdee1fe53
rev   line source
erjo@13410 1 # SliTaz package receipt.
erjo@13410 2
erjo@13410 3 PACKAGE="owncloud-client"
erjo@13410 4 VERSION="1.0.5"
erjo@13410 5 CATEGORY="network"
erjo@13410 6 SHORT_DESC="The ownCloud Client, based on Mirall"
erjo@13410 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@13410 9 WEB_SITE="http://owncloud.org/sync-clients/"
erjo@13410 10 SOURCE="mirall"
erjo@13410 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
erjo@13410 12 WGET_URL="http://download.owncloud.com/download/$TARBALL"
erjo@13410 13
erjo@13410 14 DEPENDS="csync libQtTest libQtNetwork libQtCore libQtXml libQtGui"
erjo@13410 15 BUILD_DEPENDS="csync-dev Qt4-dev cmake qmake"
pascal@24535 16
pascal@24535 17 # What is the latest version available today?
pascal@24535 18 current_version()
pascal@24535 19 {
pascal@24535 20 wget -O - https://github.com/owncloud/client/releases 2>/dev/null | \
pascal@24535 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24535 22 }
pascal@24535 23
erjo@13410 24 # Rules to configure and make the package.
erjo@13410 25 compile_rules()
erjo@13410 26 {
erjo@13410 27 mkdir mirall-build && cd mirall-build
erjo@13410 28 cmake -DCMAKE_INSTALL_PREFIX=/usr .. \
erjo@13410 29 && make && make install
erjo@13410 30
erjo@13410 31 }
erjo@13410 32
erjo@13410 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@13410 34 genpkg_rules()
erjo@13410 35 {
erjo@13410 36 cp -a $install/* $fs/
erjo@13410 37 }