wok-next view libqscintilla/receipt @ rev 20593

Up gpm (1.20.7)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 14 16:28:35 2018 +0300 (2018-04-14)
parents cec5a7f20966
children df20b2110f7e
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="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 BUILD_DEPENDS="Qt4-dev cmake qmake PyQt-x11-gpl"
14 SPLIT="libqscintilla libqscintilla-dev"
16 # Rules to configure and make the package.BUILD_TYPE=Release
17 compile_rules()
18 {
19 cd $src ; rm -rf doc Qt3 ; cd $src/Qt4Qt5
20 qmake qscintilla.pro
21 sed -i 's/-O2/-Os/g' Makefile && make
22 make DESTDIR=$DESTDIR INSTALL_ROOT=$install install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 libqscintilla)
30 DEPENDS="libQtGui"
31 SUGGESTED="juffed"
32 mkdir $fs/usr ; cp -a $install/usr/lib $fs/usr
33 ;;
34 libqscintilla-dev)
35 CAT="development|Editor classes & widgets: qm, dev files."
36 DEPENDS="libqscintilla"
37 cp -a $install/* $fs
38 rm -rf $fs/usr/lib
39 ;;
40 esac
41 }