wok annotate 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
rev   line source
pascal@2178 1 # SliTaz package receipt.
pascal@2178 2
pascal@2178 3 PACKAGE="synergy"
slaxemulator@8633 4 VERSION="1.3.6"
pascal@2178 5 CATEGORY="x-window"
pascal@2178 6 SHORT_DESC="Synergy keyboard and mouse sharing."
pascal@2178 7 MAINTAINER="rcx@zoominternet.net"
pascal@15581 8 LICENSE="GPL2"
slaxemulator@8633 9 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
slaxemulator@8633 10 WEB_SITE="http://synergy-foss.org"
pascal@24979 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
pascal@15581 12
slaxemulator@8633 13 DEPENDS="xorg-libX11 xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama gcc-lib-base"
slaxemulator@8633 14 BUILD_DEPENDS="xorg-dev-proto xorg-libXt-dev xorg-libXtst-dev cmake"
pascal@2178 15
pascal@24535 16 # What is the latest version available today?
pascal@24535 17 current_version()
pascal@24535 18 {
pascal@24535 19 wget -O - https://github.com/symless/synergy-core/releases 2>/dev/null | \
pascal@24535 20 sed '/stable/!d;/archive.*tar/!d;s|.*/v*\(.*\)-stable.tar.*|\1|;q'
pascal@24535 21 }
pascal@24535 22
pascal@2178 23 # Rules to configure and make the package.
pascal@2178 24 compile_rules()
slaxemulator@8633 25 {
pascal@2178 26 cd $src
slaxemulator@8633 27
slaxemulator@8633 28 cmake -D CMAKE_INSTALL_PREFIX=/usr .
slaxemulator@8633 29 make
slaxemulator@8633 30 # install binary
pascal@15581 31 install -d "$DESTDIR/usr/bin/"
pascal@15581 32 install -Dm755 synergyc $DESTDIR//usr/bin/
pascal@15581 33 install -Dm755 synergys $DESTDIR/usr/bin/
pascal@15581 34 install -Dm644 examples/${PACKAGE}.conf "$DESTDIR/etc/${PACKAGE}.conf"
pascal@2178 35 }
pascal@2178 36
pascal@2178 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2178 38 genpkg_rules()
pascal@2178 39 {
pascal@2178 40 mkdir -p $fs/usr
pascal@15581 41 cp -a $install/usr/bin $fs/usr
pascal@2178 42 }