wok-next diff libqscintilla/receipt @ rev 21276
try to build gens-gs again
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 15:51:18 2019 +0100 (2019-12-07) |
parents | 9f9a38d220f6 |
children |
line diff
1.1 --- a/libqscintilla/receipt Thu Oct 04 15:10:55 2018 +0300 1.2 +++ b/libqscintilla/receipt Sat Dec 07 15:51:18 2019 +0100 1.3 @@ -6,38 +6,37 @@ 1.4 SHORT_DESC="Editor classes & widgets" 1.5 MAINTAINER="psychomaniak@xakep.ru" 1.6 LICENSE="GPL2" 1.7 -WEB_SITE="http://www.riverbankcomputing.co.uk/software/qscintilla" 1.8 +WEB_SITE="https://www.riverbankcomputing.com/software/qscintilla/intro" 1.9 REPOLOGY="qscintilla" 1.10 1.11 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 WGET_URL="$SF_MIRROR/pyqt/QScintilla-gpl-$VERSION.tar.gz" 1.13 1.14 BUILD_DEPENDS="Qt4-dev cmake qmake pyqt" 1.15 -SPLIT="libqscintilla libqscintilla-dev" 1.16 +SPLIT="$PACKAGE-dev" 1.17 1.18 -# Rules to configure and make the package.BUILD_TYPE=Release 1.19 -compile_rules() 1.20 -{ 1.21 - cd $src ; rm -rf doc Qt3 ; cd $src/Qt4Qt5 1.22 +compile_rules() { 1.23 + rm -rf doc Qt3 1.24 + cd $src/Qt4Qt5 1.25 + 1.26 qmake qscintilla.pro 1.27 - sed -i 's/-O2/-Os/g' Makefile && make 1.28 - make DESTDIR=$DESTDIR INSTALL_ROOT=$install install 1.29 + sed -i 's/-O2/-Os/g' Makefile && 1.30 + make && 1.31 + make DESTDIR=$install INSTALL_ROOT=$install install 1.32 } 1.33 1.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 -genpkg_rules() 1.36 -{ 1.37 +genpkg_rules() { 1.38 case $PACKAGE in 1.39 - libqscintilla) 1.40 - DEPENDS="libQtGui" 1.41 - SUGGESTED="juffed" 1.42 - mkdir $fs/usr ; cp -a $install/usr/lib $fs/usr 1.43 - ;; 1.44 - libqscintilla-dev) 1.45 - CAT="development|Editor classes & widgets: qm, dev files." 1.46 - DEPENDS="libqscintilla" 1.47 - cp -a $install/* $fs 1.48 - rm -rf $fs/usr/lib 1.49 - ;; 1.50 + libqscintilla) 1.51 + mkdir $fs/usr 1.52 + cp -a $install/usr/lib $fs/usr 1.53 + DEPENDS="libQtGui" 1.54 + SUGGESTED="juffed" 1.55 + ;; 1.56 + *-dev) 1.57 + cp -a $install/* $fs 1.58 + rm -rf $fs/usr/lib 1.59 + DEPENDS="libqscintilla" 1.60 + ;; 1.61 esac 1.62 }