wok-next view keybinder/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="keybinder"
4 VERSION="0.3.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Library for registering global keyboard shortcuts"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/kupferlauncher/keybinder"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/kupferlauncher/keybinder/releases/download/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev gobject-introspection-dev libxext-dev python-dev \
15 python-pygtk-dev python-pygobject2-dev automake autoconf libtool"
16 SPLIT="$PACKAGE-python $PACKAGE-dev"
18 compile_rules() {
19 autoreconf -vif &&
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 keybinder)
29 copy libkeybinder.so*
30 DEPENDS="glib gtk2 libx11"
31 ;;
32 keybinder-python)
33 copy @std @rm
34 CAT="x-window|python bindings"
35 DEPENDS="glib keybinder python"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="keybinder keybinder-python \
40 gtk2-dev"
41 ;;
42 esac
43 }