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