wok annotate tea/receipt @ rev 13465

Up iw (3.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 08 10:50:30 2012 +0200 (2012-10-08)
parents
children 68ec33732967
rev   line source
pankso@12283 1 # SliTaz package receipt.
pankso@12283 2
pankso@12283 3 PACKAGE="tea"
pankso@12283 4 VERSION="32.0.1"
pankso@12283 5 CATEGORY="development"
pankso@12283 6 SHORT_DESC="Tead text editor using QT."
pankso@12283 7 MAINTAINER="pankso@slitaz.org"
pankso@12283 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@12283 9 WEB_SITE="http://tea-editor.sourceforge.net/"
pankso@12283 10 WGET_URL="http://semiletov.ho.ua/tea-releases/$TARBALL"
pankso@12283 11
pankso@12283 12 DEPENDS="xorg-libX11 libQtCore libQtXml libQtGui"
pankso@12283 13 BUILD_DEPENDS="Qt4-dev qmake xorg-dev"
pankso@12283 14
pankso@12283 15 # Rules to configure and make the package.
pankso@12283 16 compile_rules()
pankso@12283 17 {
pankso@12283 18 cd $src
pankso@12283 19 qmake PREFIX=/usr && make
pankso@12283 20 }
pankso@12283 21
pankso@12283 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12283 23 genpkg_rules()
pankso@12283 24 {
pankso@12283 25 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
pankso@12283 26 cp -a $src/bin/tea $fs/usr/bin
pankso@12283 27 cp -a $src/icons/tea_icon_v2.png \
pankso@12283 28 $fs/usr/share/pixmaps/tea.png
pankso@12283 29 }