wok-current annotate juffed/receipt @ rev 18199

Up tazinst (60)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 12 21:09:55 2015 +0200 (2015-07-12)
parents 3025f71bda86
children b569b85b0fb9
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
psychomaniak@17113 20 # Rules to configure and make the package.
psychomaniak@17113 21 compile_rules()
psychomaniak@17113 22 {
psychomaniak@17113 23 #sed -i 's/ ON/ OFF/g' $src/plugins/CMakeLists.txt
psychomaniak@17113 24 cd $src && cmake \
psychomaniak@17113 25 -DCMAKE_BUILD_TYPE=release \
psychomaniak@17113 26 -DCMAKE_INSTALL_PREFIX=/usr . &&
psychomaniak@17113 27 make && make DESTDIR=$DESTDIR install
psychomaniak@17113 28 }
psychomaniak@17113 29
psychomaniak@17113 30 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@17113 31 genpkg_rules()
psychomaniak@17113 32 {
psychomaniak@17113 33 cp -a $install/* $fs
psychomaniak@17113 34 }