wok annotate synergy/receipt @ rev 14099

wine-rt*: up 1.5.23
author Samuel Trassare <samuel_trassare@yahoo.com>
date Sat Feb 23 08:13:57 2013 -0800 (2013-02-23)
parents 0b4cf0d9e1b5
children c4f226b02549
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"
slaxemulator@8633 8 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
slaxemulator@8633 9 WEB_SITE="http://synergy-foss.org"
slaxemulator@8633 10 WGET_URL="http://synergy.googlecode.com/files/$TARBALL"
slaxemulator@8633 11 DEPENDS="xorg-libX11 xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama gcc-lib-base"
slaxemulator@8633 12 BUILD_DEPENDS="xorg-dev-proto xorg-libXt-dev xorg-libXtst-dev cmake"
pascal@2178 13
pascal@2178 14 # Rules to configure and make the package.
pascal@2178 15 compile_rules()
slaxemulator@8633 16 {
pascal@2178 17 cd $src
slaxemulator@8633 18
slaxemulator@8633 19 cmake -D CMAKE_INSTALL_PREFIX=/usr .
slaxemulator@8633 20 make
slaxemulator@8633 21 # install binary
slaxemulator@8633 22 install -d "$PWD/_pkg/usr/bin/"
slaxemulator@8633 23 install -Dm755 synergyc $PWD/_pkg/usr/bin/
slaxemulator@8633 24 install -Dm755 synergys $PWD/_pkg/usr/bin/
slaxemulator@8633 25 install -Dm644 examples/${PACKAGE}.conf "$PWD/_pkg/etc/${PACKAGE}.conf"
pascal@2178 26 }
pascal@2178 27
pascal@2178 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2178 29 genpkg_rules()
pascal@2178 30 {
pascal@2178 31 mkdir -p $fs/usr
pascal@2178 32 cp -a $_pkg/usr/bin $fs/usr
pascal@2178 33 }