wok-stable annotate mutt/receipt @ rev 12449
lighttpd, mutt: update CONFIG_FILES (thanks emgi)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 08 13:07:27 2015 +0100 (2015-02-08) |
parents | 0eefa06c6e29 |
children |
rev | line source |
---|---|
taziden@1973 | 1 |
taziden@1973 | 2 # SliTaz package receipt |
taziden@1973 | 3 |
taziden@1973 | 4 PACKAGE="mutt" |
taziden@6436 | 5 VERSION="1.5.21" |
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@2519 | 9 DEPENDS="openssl ncurses zlib libidn" |
taziden@3450 | 10 BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev" |
taziden@1973 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
taziden@1973 | 12 WEB_SITE="http://www.mutt.org" |
taziden@1973 | 13 WGET_URL="ftp://ftp.mutt.org/mutt/devel/$TARBALL" |
pascal@12449 | 14 CONFIG_FILES="/etc/Muttrc /etc/mime.types" |
taziden@1973 | 15 |
taziden@1973 | 16 # Rules to configure and make the package. |
taziden@1973 | 17 compile_rules() |
taziden@1973 | 18 { |
taziden@1973 | 19 cd $src |
pankso@10601 | 20 addgroup mail |
pascal@5542 | 21 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c |
pankso@10601 | 22 ./configure \ |
pankso@10601 | 23 --prefix=/usr \ |
pankso@10601 | 24 --enable-imap \ |
pankso@10601 | 25 --with-ssl=/usr \ |
pankso@10601 | 26 --with-mailpath=/var/mail \ |
pankso@10601 | 27 --sysconfdir=/etc \ |
pankso@10601 | 28 --enable-pop \ |
pankso@10601 | 29 --enable-smtp \ |
pankso@10601 | 30 $CONFIGURE_ARGS && |
pankso@10601 | 31 make && make install && |
pankso@10601 | 32 delgroup mail |
taziden@1973 | 33 } |
taziden@1973 | 34 |
taziden@1973 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@1973 | 36 genpkg_rules() |
taziden@1973 | 37 { |
paul@12366 | 38 mkdir -p $fs/usr $fs/etc |
paul@12366 | 39 cp -a $_pkg/usr/bin $fs/usr |
paul@12366 | 40 cp -a $_pkg/etc/* $fs/etc |
paul@12366 | 41 cp -a $_pkg/usr/share $fs/usr |
taziden@1973 | 42 rm -r $fs/usr/share/doc |
taziden@1973 | 43 rm -r $fs/usr/share/man |
taziden@1973 | 44 } |
taziden@1973 | 45 |
pankso@10601 | 46 post_install() |
pankso@10601 | 47 { |
pankso@10601 | 48 addgroup mail |
pankso@10601 | 49 } |
pankso@10601 | 50 |
pankso@10601 | 51 post_remove() |
pankso@10601 | 52 { |
pankso@10601 | 53 delgroup mail |
pankso@10601 | 54 } |