wok-6.x annotate trojita/receipt @ rev 25227

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