wok-next annotate 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
rev   line source
pascal@20206 1 # SliTaz package receipt v2.
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"
al@21020 9 WEB_SITE="https://www.riverbankcomputing.com/software/qscintilla/intro"
al@20883 10 REPOLOGY="qscintilla"
al@20883 11
psychomaniak@17113 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
psychomaniak@17113 13 WGET_URL="$SF_MIRROR/pyqt/QScintilla-gpl-$VERSION.tar.gz"
psychomaniak@17113 14
al@20994 15 BUILD_DEPENDS="Qt4-dev cmake qmake pyqt"
al@21020 16 SPLIT="$PACKAGE-dev"
psychomaniak@17113 17
al@21020 18 compile_rules() {
al@21020 19 rm -rf doc Qt3
al@21020 20 cd $src/Qt4Qt5
al@21020 21
psychomaniak@17113 22 qmake qscintilla.pro
al@21020 23 sed -i 's/-O2/-Os/g' Makefile &&
al@21020 24 make &&
al@21020 25 make DESTDIR=$install INSTALL_ROOT=$install install
psychomaniak@17113 26 }
psychomaniak@17113 27
al@21020 28 genpkg_rules() {
pascal@20206 29 case $PACKAGE in
al@21020 30 libqscintilla)
al@21020 31 mkdir $fs/usr
al@21020 32 cp -a $install/usr/lib $fs/usr
al@21020 33 DEPENDS="libQtGui"
al@21020 34 SUGGESTED="juffed"
al@21020 35 ;;
al@21020 36 *-dev)
al@21020 37 cp -a $install/* $fs
al@21020 38 rm -rf $fs/usr/lib
al@21020 39 DEPENDS="libqscintilla"
al@21020 40 ;;
pascal@20206 41 esac
psychomaniak@17113 42 }