wok-current annotate synergy/receipt @ rev 24574

updated fribidi and fribidi-dev (1.0.8 -> 1.0.11)
author Hans-G?nter Theisgen
date Sun Feb 27 07:58:48 2022 +0100 (2022-02-27)
parents c4f226b02549
children d765616e1f3d
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"
slaxemulator@8633 11 WGET_URL="http://synergy.googlecode.com/files/$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 }