wok-next view libkeybinder/receipt @ rev 20523

libnsgif: add missing stuff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 23 15:16:45 2018 +0200 (2018-03-23)
parents 417f77dae192
children 25deb7c6df08
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libkeybinder"
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/keybinder-3.0-v$VERSION/keybinder-3.0-$VERSION.tar.gz"
13 WGET_URL="https://github.com/kupferlauncher/keybinder/releases/download/v$VERSION/keybinder-$VERSION.tar.gz"
15 BUILD_DEPENDS="gtk+-dev gobject-introspection-dev xorg-libXext-dev python-dev \
16 pygtk-dev pygobject-dev automake autoconf libtool"
17 SPLIT="libkeybinder-python libkeybinder-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 autoreconf -vif &&
23 ./configure $CONFIGURE_ARGS && make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 case $PACKAGE in
30 libkeybinder)
31 copy libkeybinder.so*
32 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
33 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
34 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
35 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
36 xorg-pixman zlib"
37 ;;
38 libkeybinder-python)
39 copy @std @rm
40 CAT="x-window|python bindings"
41 DEPENDS="libkeybinder python"
42 ;;
43 *-dev)
44 copy @dev
45 DEPENDS="libkeybinder libkeybinder-python \
46 atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
47 gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libffi-dev \
48 libpng16-dev libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \
49 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
50 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
51 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
52 ;;
53 esac
54 }