wok-next view qupzilla/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | e6615350078d |
children | d43bf7aae921 |
line source
1 # SliTaz PACKAGE receipt v2.
3 PACKAGE="qupzilla"
4 VERSION="1.8.5"
5 CATEGORY="network"
6 SHORT_DESC="QupZilla - QtWebKit browser"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/QupZilla/qupzilla"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 GENERIC_PIXMAPS="no"
16 BUILD_DEPENDS="wget cacerts Qt4-dev qmake openssl-dev xorg-libX11-dev"
17 SPLIT="qupzilla-locales"
19 compile_rules() {
20 qmake QupZilla.pro &&
21 make &&
22 make INSTALL_ROOT=$install install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 qupzilla)
28 cp -a $install/* $fs
29 rm -rf $fs/usr/share/bash-completion
30 for size in 64 128 256; do
31 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
32 done
33 rm -rf $fs/usr/share/pixmaps
34 rm -rf $fs/usr/share/qupzilla/locale
35 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript \
36 libQtSql libQtXml openssl xorg-libX11 zlib cacerts xdg-utils \
37 libQtWebkit"
38 SUGGESTED="libQtWebkit-video qupzilla-locales"
39 TAGS="web-browser"
40 ;;
41 qupzilla-locales)
42 p=usr/share/qupzilla
43 mkdir -p $fs/$p
44 cp -a $install/$p/locale $fs/$p
45 CAT="localization|translations"
46 DEPENDS="qupzilla"
47 ;;
48 esac
49 }