wok view arora/receipt @ rev 24306

modified recipe for ctypes.sh
author Hans-G?nter Theisgen
date Mon Jan 17 16:11:08 2022 +0100 (2022-01-17)
parents 5ea0ce1cecc0
children e1e1678c5265
line source
1 # SliTaz package receipt.
3 PACKAGE="arora"
4 VERSION="0.11.0"
5 CATEGORY="network"
6 SHORT_DESC="A cross-platform Qt4 WebKit browser"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/Arora/arora"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
12 TAGS="web-browser"
14 BUILD_DEPENDS="Qt4-dev qmake libsqlite"
15 DEPENDS="libQtGui libQtWebkit libQtDBus libQtXml libQtScript"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/files*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 qmake PREFIX="/usr/" &&
28 make $MAKEFLAGS &&
29 make INSTALL_ROOT=$DESTDIR install
30 find $install -type f -name '*.desktop' -exec chmod a-x \{\} \;
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp $src/arora $fs/usr/bin
38 }