wok-current view juffed/receipt @ rev 25019
updated openjpeg2 and openjpeg2-dev (2.3.1 -> 2.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 07:22:38 2022 +0100 (2022-05-18) |
parents | 5d53e8ccbc8d |
children | 8ea0030e77cb |
line source
1 # SliTaz package receipt.
3 PACKAGE="juffed"
4 VERSION="0.10"
5 CATEGORY="editors"
6 SHORT_DESC="Qt4 text & code editor"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="http://juffed.com"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 # COMMIT="58e2c637f1"
12 # VERSION="${COMMIT:0:4}git"
13 # WGET_URL="https://github.com/Mezomish/$PACKAGE/archive/$COMMIT.tar.gz"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE-$VERSION-1054.tar.bz2"
15 TAGS="text-editor"
17 DEPENDS="libQtGui libQtDBus libQtNetwork libqscintilla"
18 BUILD_DEPENDS="Qt4-dev cmake qmake libqscintilla-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://github.com/Mezomish/$PACKAGE/tags 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 #sed -i 's/ ON/ OFF/g' $src/plugins/CMakeLists.txt
31 cd $src && cmake \
32 -DCMAKE_BUILD_TYPE=release \
33 -DCMAKE_INSTALL_PREFIX=/usr . &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }