wok view synergy/receipt @ rev 25134

updated phpeasyvcs (1.0 -> 2.0)
author Hans-G?nter Theisgen
date Wed Jun 29 10:51:43 2022 +0100 (2022-06-29)
parents 7c0170dd3ecc
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="synergy"
4 VERSION="1.3.6"
5 CATEGORY="x-window"
6 SHORT_DESC="Synergy keyboard and mouse sharing."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
10 WEB_SITE="http://synergy-foss.org"
11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
13 DEPENDS="xorg-libX11 xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama gcc-lib-base"
14 BUILD_DEPENDS="xorg-dev-proto xorg-libXt-dev xorg-libXtst-dev cmake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/symless/synergy-core/releases 2>/dev/null | \
20 sed '/stable/!d;/archive.*tar/!d;s|.*/v*\(.*\)-stable.tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
28 cmake -D CMAKE_INSTALL_PREFIX=/usr .
29 make
30 # install binary
31 install -d "$DESTDIR/usr/bin/"
32 install -Dm755 synergyc $DESTDIR//usr/bin/
33 install -Dm755 synergys $DESTDIR/usr/bin/
34 install -Dm644 examples/${PACKAGE}.conf "$DESTDIR/etc/${PACKAGE}.conf"
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }