wok-next view libqscintilla/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 9f9a38d220f6 |
children |
line source
1 # SliTaz package receipt v2.
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="https://www.riverbankcomputing.com/software/qscintilla/intro"
10 REPOLOGY="qscintilla"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/pyqt/QScintilla-gpl-$VERSION.tar.gz"
15 BUILD_DEPENDS="Qt4-dev cmake qmake pyqt"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 rm -rf doc Qt3
20 cd $src/Qt4Qt5
22 qmake qscintilla.pro
23 sed -i 's/-O2/-Os/g' Makefile &&
24 make &&
25 make DESTDIR=$install INSTALL_ROOT=$install install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libqscintilla)
31 mkdir $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 DEPENDS="libQtGui"
34 SUGGESTED="juffed"
35 ;;
36 *-dev)
37 cp -a $install/* $fs
38 rm -rf $fs/usr/lib
39 DEPENDS="libqscintilla"
40 ;;
41 esac
42 }