wok-6.x annotate libqscintilla/receipt @ rev 24533

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