wok view trojita/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (5 days ago)
parents 0fa8e8aae1b8
children
line source
1 # SliTaz package receipt.
3 PACKAGE="trojita"
4 VERSION="0.5"
5 CATEGORY="mail"
6 SHORT_DESC="Trojitá, a fast Qt IMAP e-mail client"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="http://trojita.flaska.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libQtDBus libQtSql libQtWebkit qtkeychain"
14 BUILD_DEPENDS="cmake Qt4-dev qmake dbus-dev zlib-dev qtkeychain-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/trojita/files/src/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*/trojita-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir build; cd build
27 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 # Remove locales
36 rm -r $fs/usr/share/trojita
37 }