wok-next annotate tea/receipt @ rev 15207
Add mktorrent
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 10 12:15:52 2013 +0000 (2013-09-10) |
parents | 2b9f96603415 |
children | 5d53e8ccbc8d |
rev | line source |
---|---|
pankso@12283 | 1 # SliTaz package receipt. |
pankso@12283 | 2 |
pankso@12283 | 3 PACKAGE="tea" |
monghitri@13992 | 4 VERSION="33.5.0" |
pankso@12283 | 5 CATEGORY="development" |
pankso@12283 | 6 SHORT_DESC="Tead text editor using QT." |
pankso@12283 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL3" |
pankso@12283 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@12283 | 10 WEB_SITE="http://tea-editor.sourceforge.net/" |
monghitri@13992 | 11 WGET_URL="http://semiletov.org/tea-releases/$TARBALL" |
pankso@12283 | 12 |
pankso@12283 | 13 DEPENDS="xorg-libX11 libQtCore libQtXml libQtGui" |
pankso@12283 | 14 BUILD_DEPENDS="Qt4-dev qmake xorg-dev" |
pankso@12283 | 15 |
pankso@12283 | 16 # Rules to configure and make the package. |
pankso@12283 | 17 compile_rules() |
pankso@12283 | 18 { |
pankso@12283 | 19 cd $src |
pankso@12283 | 20 qmake PREFIX=/usr && make |
pankso@12283 | 21 } |
pankso@12283 | 22 |
pankso@12283 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12283 | 24 genpkg_rules() |
pankso@12283 | 25 { |
pankso@12283 | 26 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps |
pankso@12283 | 27 cp -a $src/bin/tea $fs/usr/bin |
pankso@12283 | 28 cp -a $src/icons/tea_icon_v2.png \ |
pankso@12283 | 29 $fs/usr/share/pixmaps/tea.png |
pankso@12283 | 30 } |