wok-current annotate synergy/receipt @ rev 18599
dropbear, slitaz-tools, tazwikiss, wpa_supplicant: touch missing "official" config files
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 16 00:25:42 2015 +0200 (2015-11-16) |
parents | 6d307045afff |
children | 7c0170dd3ecc |
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@2178 | 16 # Rules to configure and make the package. |
pascal@2178 | 17 compile_rules() |
slaxemulator@8633 | 18 { |
pascal@2178 | 19 cd $src |
slaxemulator@8633 | 20 |
slaxemulator@8633 | 21 cmake -D CMAKE_INSTALL_PREFIX=/usr . |
slaxemulator@8633 | 22 make |
slaxemulator@8633 | 23 # install binary |
pascal@15581 | 24 install -d "$DESTDIR/usr/bin/" |
pascal@15581 | 25 install -Dm755 synergyc $DESTDIR//usr/bin/ |
pascal@15581 | 26 install -Dm755 synergys $DESTDIR/usr/bin/ |
pascal@15581 | 27 install -Dm644 examples/${PACKAGE}.conf "$DESTDIR/etc/${PACKAGE}.conf" |
pascal@2178 | 28 } |
pascal@2178 | 29 |
pascal@2178 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2178 | 31 genpkg_rules() |
pascal@2178 | 32 { |
pascal@2178 | 33 mkdir -p $fs/usr |
pascal@15581 | 34 cp -a $install/usr/bin $fs/usr |
pascal@2178 | 35 } |