SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libqscintilla"

# SliTaz package receipt.

PACKAGE="libqscintilla"
VERSION="2.8.3"
CATEGORY="development"
SHORT_DESC="Editor classes & widgets"
MAINTAINER="psychomaniak@xakep.ru"
LICENSE="GPL2"
WEB_SITE="http://www.riverbankcomputing.co.uk/software/qscintilla"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/pyqt/QScintilla-gpl-$VERSION.tar.gz"

DEPENDS="libQtGui"
BUILD_DEPENDS="Qt4-dev cmake qmake PyQt-x11-gpl"
SUGGESTED="juffed"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/pyqt/files/ 2>/dev/null | \
    sed '/scope="row/!d;/QScintilla/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/QScintilla-||;s|/.*||;q'
}

# Rules to configure and make the package.BUILD_TYPE=Release
compile_rules()
{
    cd $src ; rm -rf doc Qt3 ; cd $src/Qt4Qt5
    qmake qscintilla.pro
    sed -i 's/-O2/-Os/g' Makefile && make
    make DESTDIR=$DESTDIR INSTALL_ROOT=$install install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir $fs/usr ; cp -a $install/usr/lib $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)