wok view libqscintilla/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 65d7d867e0c1
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }