wok view owncloud-client/receipt @ rev 25616
Add emu2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 26 15:51:29 2023 +0000 (14 months ago) |
parents | 73f36875e5a7 |
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }