wok-current view owncloud-client/receipt @ rev 25553

Up amd-microcode (2021.Sep.10), intel-microcode (20230214)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 09 14:47:24 2023 +0000 (19 months ago)
parents c85bdee1fe53
children
line source
1 # SliTaz package receipt.
3 PACKAGE="owncloud-client"
4 VERSION="1.0.5"
5 CATEGORY="network"
6 SHORT_DESC="The ownCloud Client, based on Mirall"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://owncloud.org/sync-clients/"
10 SOURCE="mirall"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="https://web.archive.org/web/20121104014619if_/http://download.owncloud.com/download/$TARBALL"
14 DEPENDS="csync libQtTest libQtNetwork libQtCore libQtXml libQtGui"
15 BUILD_DEPENDS="csync-dev Qt4-dev cmake qmake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/owncloud/client/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir mirall-build && cd mirall-build
28 cmake -DCMAKE_INSTALL_PREFIX=/usr .. \
29 && make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs/
37 }