wok-current annotate trojita/receipt @ rev 20486
perl: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 26 10:09:53 2018 +0200 (2018-10-26) |
parents | |
children | 5f6c5106b1f5 |
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 |
al@18691 | 16 # Rules to configure and make the package. |
al@18691 | 17 compile_rules() |
al@18691 | 18 { |
al@18691 | 19 mkdir build; cd build |
al@18691 | 20 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. && |
al@18691 | 21 make && make install |
al@18691 | 22 } |
al@18691 | 23 |
al@18691 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18691 | 25 genpkg_rules() |
al@18691 | 26 { |
al@18691 | 27 cp -a $install/* $fs |
al@18691 | 28 # Remove locales |
al@18691 | 29 rm -r $fs/usr/share/trojita |
al@18691 | 30 } |