SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "synergy"

# SliTaz package receipt.

PACKAGE="synergy"
VERSION="1.3.6"
CATEGORY="x-window"
SHORT_DESC="Synergy keyboard and mouse sharing."
MAINTAINER="rcx@zoominternet.net"
TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
WEB_SITE="http://synergy-foss.org"
WGET_URL="http://synergy.googlecode.com/files/$TARBALL"
DEPENDS="xorg-libX11 xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama gcc-lib-base"
BUILD_DEPENDS="xorg-dev-proto xorg-libXt-dev xorg-libXtst-dev cmake"

# Rules to configure and make the package.
compile_rules()
{        
    cd $src
    
    cmake -D CMAKE_INSTALL_PREFIX=/usr .
    make
    # install binary
    install -d "$PWD/_pkg/usr/bin/"
    install -Dm755 synergyc $PWD/_pkg/usr/bin/
    install -Dm755 synergys $PWD/_pkg/usr/bin/
    install -Dm644 examples/${PACKAGE}.conf "$PWD/_pkg/etc/${PACKAGE}.conf"
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $_pkg/usr/bin $fs/usr
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)