wok-current view libqscintilla/receipt @ rev 25409
updated whois (5.5.6 -> 5.5.13)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Aug 03 17:56:22 2022 +0100 (2022-08-03) |
parents | cec5a7f20966 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libqscintilla"
4 VERSION="2.8.3"
5 CATEGORY="development"
6 SHORT_DESC="Editor classes & widgets"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.riverbankcomputing.co.uk/software/qscintilla"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/pyqt/QScintilla-gpl-$VERSION.tar.gz"
13 DEPENDS="libQtGui"
14 BUILD_DEPENDS="Qt4-dev cmake qmake PyQt-x11-gpl"
15 SUGGESTED="juffed"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/pyqt/files/ 2>/dev/null | \
21 sed '/scope="row/!d;/QScintilla/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/QScintilla-||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.BUILD_TYPE=Release
26 compile_rules()
27 {
28 cd $src ; rm -rf doc Qt3 ; cd $src/Qt4Qt5
29 qmake qscintilla.pro
30 sed -i 's/-O2/-Os/g' Makefile && make
31 make DESTDIR=$DESTDIR INSTALL_ROOT=$install install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir $fs/usr ; cp -a $install/usr/lib $fs/usr
38 }