SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "unison"

# SliTaz package receipt.

PACKAGE="unison"
VERSION="2.52.1"
CATEGORY="system-tools"
TAGS="sync"
SHORT_DESC="File-synchronization tool."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://www.cis.upenn.edu/~bcpierce/unison"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/bcpierce00/$PACKAGE/archive/v$VERSION.tar.gz"

BUILD_DEPENDS="ocaml emacs"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}


# Rules to configure and make the package.
compile_rules()
{
    make CFLAGS="" UISTYLE=text
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin

    cp -a $src/src/unison        $fs/usr/bin
    cp -a $src/src/unison-fsmonitor    $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)