wok-next view pywebkitgtk/receipt @ rev 21057
Deal with HOST_ARCH="any"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 03 14:47:30 2018 +0200 (2018-12-03) |
parents | f48456621a9d |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pywebkitgtk"
4 VERSION="1.1.8"
5 CATEGORY="python"
6 SHORT_DESC="Python2 bindings to the WebKit GTK+ port"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://code.google.com/archive/p/pywebkitgtk/"
10 REPOLOGY="python:pywebkitgtk"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pywebkitgtk/$TARBALL"
15 BUILD_DEPENDS="python-dev libxslt-dev glib-dev python-pygtk-dev webkitgtk-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 pywebkitgtk)
28 copy @std
29 DEPENDS="atk bzlib cairo enchant fontconfig freetype gdk-pixbuf \
30 glib gst1-plugins-base gstreamer1 gtk2 icu libatomic libffi \
31 libgcrypt libgpg-error libharfbuzz libharfbuzz-icu libicu \
32 libjpeg-turbo liblzma libpng16 libsecret libsoup libsqlite3 \
33 libwebp libxml2 libxslt orc pango pcre python util-linux-blkid \
34 util-linux-mount util-linux-uuid webkitgtk xorg-libICE xorg-libSM \
35 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender \
36 xorg-libXt xorg-libxcb xorg-pixman zlib"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="pywebkitgtk atk-dev bzip2-dev cairo-dev enchant-dev \
41 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \
42 gst1-plugins-base-dev gstreamer1-dev gtk2-dev harfbuzz-dev \
43 harfbuzz-icu-dev icu-dev libjpeg-turbo-dev libffi-dev \
44 libgcrypt-dev libgpg-error-dev libpng16-dev libsecret-dev \
45 libsoup-dev libwebp-dev libxml2-dev libxslt-dev orc-dev pango-dev \
46 pcre-dev sqlite3-dev util-linux-blkid-dev util-linux-mount-dev \
47 util-linux-uuid-dev webkitgtk-dev xorg-libICE-dev xorg-libSM-dev \
48 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
49 xorg-libXrender-dev xorg-libXt-dev xorg-libxcb-dev xorg-pixman-dev \
50 xz-dev zlib-dev"
51 ;;
52 esac
53 }