wok-next annotate mutt/receipt @ rev 15583
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 30 15:44:51 2013 +0000 (2013-11-30) |
parents | cb030285c0ed |
children | 17bf4f330c44 |
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@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@15583 | 15 BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev" |
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 \ |
pankso@10601 | 31 $CONFIGURE_ARGS && |
pankso@10601 | 32 make && make install && |
pankso@10601 | 33 delgroup mail |
taziden@1973 | 34 } |
taziden@1973 | 35 |
taziden@1973 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@1973 | 37 genpkg_rules() |
taziden@1973 | 38 { |
paul@13741 | 39 mkdir -p $fs/usr $fs/etc |
pascal@15583 | 40 cp -a $install/usr/bin $fs/usr |
pascal@15583 | 41 cp -a $install/etc/* $fs/etc |
pascal@15583 | 42 cp -a $install/usr/share $fs/usr |
taziden@1973 | 43 rm -r $fs/usr/share/doc |
taziden@1973 | 44 rm -r $fs/usr/share/man |
taziden@1973 | 45 } |
taziden@1973 | 46 |
pankso@10601 | 47 post_install() |
pankso@10601 | 48 { |
pankso@10601 | 49 addgroup mail |
pankso@10601 | 50 } |
pankso@10601 | 51 |
pankso@10601 | 52 post_remove() |
pankso@10601 | 53 { |
pankso@10601 | 54 delgroup mail |
pankso@10601 | 55 } |