SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "owncloud-client"

# SliTaz package receipt.

PACKAGE="owncloud-client"
VERSION="1.0.5"
CATEGORY="network"
SHORT_DESC="The ownCloud Client, based on Mirall"
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://owncloud.org/sync-clients/"
SOURCE="mirall"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="https://web.archive.org/web/20121104014619if_/http://download.owncloud.com/download/$TARBALL"

DEPENDS="csync libQtTest libQtNetwork libQtCore libQtXml libQtGui"
BUILD_DEPENDS="csync-dev Qt4-dev cmake qmake"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/owncloud/client/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
        mkdir mirall-build && cd mirall-build
        cmake -DCMAKE_INSTALL_PREFIX=/usr .. \
        && make && make install
    
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs/
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)