wok annotate mutt/receipt @ rev 17319
Up mutt (1.5.3)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Nov 04 11:36:52 2014 +0000 (2014-11-04) |
parents | 17bf4f330c44 |
children | 7de0921f7b47 |
rev | line source |
---|---|
taziden@1973 | 1 |
taziden@1973 | 2 # SliTaz package receipt |
taziden@1973 | 3 |
taziden@1973 | 4 PACKAGE="mutt" |
paul@17319 | 5 VERSION="1.5.23" |
taziden@1973 | 6 CATEGORY="network" |
taziden@1973 | 7 SHORT_DESC="Small and powerful text-based mail client" |
pankso@10601 | 8 MAINTAINER="paul@slitaz.org" |
pascal@15583 | 9 LICENSE="GPL2" |
taziden@1973 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
taziden@1973 | 11 WEB_SITE="http://www.mutt.org" |
taziden@1973 | 12 WGET_URL="ftp://ftp.mutt.org/mutt/devel/$TARBALL" |
taziden@1973 | 13 |
pascal@15583 | 14 DEPENDS="openssl ncurses zlib libidn" |
pascal@15585 | 15 BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev perl" |
pascal@15583 | 16 |
taziden@1973 | 17 # Rules to configure and make the package. |
taziden@1973 | 18 compile_rules() |
taziden@1973 | 19 { |
taziden@1973 | 20 cd $src |
pankso@10601 | 21 addgroup mail |
pascal@5542 | 22 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c |
pankso@10601 | 23 ./configure \ |
pankso@10601 | 24 --prefix=/usr \ |
pankso@10601 | 25 --enable-imap \ |
pankso@10601 | 26 --with-ssl=/usr \ |
pankso@10601 | 27 --with-mailpath=/var/mail \ |
pankso@10601 | 28 --sysconfdir=/etc \ |
pankso@10601 | 29 --enable-pop \ |
pankso@10601 | 30 --enable-smtp \ |
paul@17319 | 31 --enable-sasl \ |
pankso@10601 | 32 $CONFIGURE_ARGS && |
pankso@10601 | 33 make && make install && |
pankso@10601 | 34 delgroup mail |
taziden@1973 | 35 } |
taziden@1973 | 36 |
taziden@1973 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@1973 | 38 genpkg_rules() |
taziden@1973 | 39 { |
paul@13741 | 40 mkdir -p $fs/usr $fs/etc |
pascal@15583 | 41 cp -a $install/usr/bin $fs/usr |
pascal@15583 | 42 cp -a $install/etc/* $fs/etc |
pascal@15583 | 43 cp -a $install/usr/share $fs/usr |
taziden@1973 | 44 rm -r $fs/usr/share/doc |
taziden@1973 | 45 rm -r $fs/usr/share/man |
taziden@1973 | 46 } |
taziden@1973 | 47 |
pankso@10601 | 48 post_install() |
pankso@10601 | 49 { |
pankso@10601 | 50 addgroup mail |
pankso@10601 | 51 } |
pankso@10601 | 52 |
pankso@10601 | 53 post_remove() |
pankso@10601 | 54 { |
pankso@10601 | 55 delgroup mail |
pankso@10601 | 56 } |