wok view qedit/receipt @ rev 25084
updated p4wn (1.0 -> 2.01)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 17:34:03 2022 +0100 (2022-06-15) |
parents | b2bca81a399e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="qedit"
4 VERSION="2.8.3"
5 CATEGORY="editors"
6 TAGS="text-editor"
7 SHORT_DESC="Code editor."
8 MAINTAINER="psychomaniak@xakep.ru"
9 LICENSE="GPL2"
10 WEB_SITE="http://hugo.pereira.free.fr/software"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/tgz/$TARBALL"
15 DEPENDS="gcc83-lib-base libQtDBus libQtGui libQtNetwork xcb-util-keysyms"
16 BUILD_DEPENDS="cmake gcc83 qmake Qt4-dev xcb-util-keysyms-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - 'http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt&package=qedit&full=' 2>/dev/null | \
22 sed '/qedit-/!d;/tar/!d;s|.*qedit-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 patch $src/patterns/shell_patterns.xml \
29 $stuff/strvar_color_slitaz
31 export CC=gcc-83
32 export CXX=g++-83
34 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
43 }