wok-next annotate keybinder/receipt @ rev 21289
updated gnuradio again (3.7.8 -> 3.8.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Dec 08 12:33:53 2019 +0100 (2019-12-08) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20905 | 1 # SliTaz package receipt v2. |
al@20905 | 2 |
al@20905 | 3 PACKAGE="keybinder" |
al@20905 | 4 VERSION="0.3.1" |
al@20905 | 5 CATEGORY="x-window" |
al@20905 | 6 SHORT_DESC="Library for registering global keyboard shortcuts" |
al@20905 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20905 | 8 LICENSE="GPL2" |
al@20905 | 9 WEB_SITE="https://github.com/kupferlauncher/keybinder" |
al@20905 | 10 |
al@20905 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20905 | 12 WGET_URL="https://github.com/kupferlauncher/keybinder/releases/download/v$VERSION/$TARBALL" |
al@20905 | 13 |
al@21078 | 14 BUILD_DEPENDS="gtk2-dev gobject-introspection-dev libxext-dev python-dev \ |
al@20932 | 15 python-pygtk-dev python-pygobject2-dev automake autoconf libtool" |
al@21020 | 16 SPLIT="$PACKAGE-python $PACKAGE-dev" |
al@20905 | 17 |
al@20905 | 18 compile_rules() { |
al@20905 | 19 autoreconf -vif && |
al@20905 | 20 ./configure $CONFIGURE_ARGS && |
al@20905 | 21 fix libtool && |
al@20905 | 22 make && |
al@20905 | 23 make install |
al@20905 | 24 } |
al@20905 | 25 |
al@20905 | 26 genpkg_rules() { |
al@20905 | 27 case $PACKAGE in |
al@20905 | 28 keybinder) |
al@20905 | 29 copy libkeybinder.so* |
al@21078 | 30 DEPENDS="glib gtk2 libx11" |
al@20905 | 31 ;; |
al@20905 | 32 keybinder-python) |
al@20905 | 33 copy @std @rm |
al@20905 | 34 CAT="x-window|python bindings" |
al@20905 | 35 DEPENDS="glib keybinder python" |
al@20905 | 36 ;; |
al@20905 | 37 *-dev) |
al@20905 | 38 copy @dev |
al@20905 | 39 DEPENDS="keybinder keybinder-python \ |
al@21017 | 40 gtk2-dev" |
al@20905 | 41 ;; |
al@20905 | 42 esac |
al@20905 | 43 } |