wok-6.x view juffed/receipt @ rev 23861
xvkbd: fix fetch,compile,and genpkg
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Jun 19 01:26:32 2020 -0400 (2020-06-19) |
parents | 3025f71bda86 |
children | b569b85b0fb9 |
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 #sed -i 's/ ON/ OFF/g' $src/plugins/CMakeLists.txt
24 cd $src && cmake \
25 -DCMAKE_BUILD_TYPE=release \
26 -DCMAKE_INSTALL_PREFIX=/usr . &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }