wok-next annotate libkeybinder/receipt @ rev 19868

Up netsurf stuff, lxpanel, slitaz-next...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 27 17:54:12 2017 +0300 (2017-09-27)
parents 16df76e1fc6a
children d43bf7aae921
rev   line source
al@19868 1 # SliTaz package receipt v2.
al@14138 2
al@14138 3 PACKAGE="libkeybinder"
al@19868 4 VERSION="0.3.1"
al@14138 5 CATEGORY="x-window"
al@14138 6 SHORT_DESC="Library for registering global keyboard shortcuts"
al@14138 7 MAINTAINER="al.bobylev@gmail.com"
pascal@14714 8 LICENSE="GPL2"
al@19868 9 WEB_SITE="https://github.com/kupferlauncher/keybinder"
al@14138 10
al@19868 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19868 12 WGET_URL="https://github.com/kupferlauncher/keybinder/releases/download/keybinder-3.0-v$VERSION/keybinder-3.0-$VERSION.tar.gz"
al@19868 13 WGET_URL="https://github.com/kupferlauncher/keybinder/releases/download/v$VERSION/keybinder-$VERSION.tar.gz"
al@19868 14
al@14138 15 BUILD_DEPENDS="gtk+-dev gobject-introspection-dev xorg-libXext-dev python-dev \
pascal@14199 16 pygtk-dev pygobject-dev automake autoconf libtool"
al@19868 17 SPLIT="libkeybinder-python libkeybinder-dev"
al@14138 18
al@14138 19 # Rules to configure and make the package.
al@14138 20 compile_rules()
al@14138 21 {
pascal@14199 22 autoreconf -vif &&
al@14138 23 ./configure $CONFIGURE_ARGS && make && make install
al@14138 24 }
al@14138 25
al@14138 26 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14138 27 genpkg_rules()
al@14138 28 {
al@19868 29 case $PACKAGE in
al@19868 30 libkeybinder)
al@19868 31 copy libkeybinder.so*
al@19868 32 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
al@19868 33 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
al@19868 34 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
al@19868 35 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
al@19868 36 xorg-pixman zlib"
al@19868 37 ;;
al@19868 38 libkeybinder-python)
al@19868 39 copy @std
al@19868 40 remove_already_packed
al@19868 41 CAT="x-window|python bindings"
al@19868 42 DEPENDS="libkeybinder python"
al@19868 43 ;;
al@19868 44 *-dev)
al@19868 45 copy @dev
al@19868 46 DEPENDS="libkeybinder libkeybinder-python \
al@19868 47 atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
al@19868 48 gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libffi-dev \
al@19868 49 libpng16-dev libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \
al@19868 50 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
al@19868 51 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
al@19868 52 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
al@19868 53 ;;
al@19868 54 esac
al@14138 55 }