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