wok-current view pmail/receipt @ rev 15944
Make lzma cross compile and fix libxml2
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 23 00:35:49 2014 +0100 (2014-02-23) |
parents | 127223567b88 |
children | 42380dbaadb7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pmail"
4 VERSION="0.9.16"
5 CATEGORY="network"
6 SHORT_DESC="Mail transfer client based on the protocols of POP3 and SMTP."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.ibiblio.org/pub/Linux/system/mail/pop/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i -e "s|BINDIR = @prefix@/bin|BINDIR = $DESTDIR/usr/bin|" \
18 -e "s|MANDIR = @prefix@/man/man1|MANDIR = $DESTDIR/usr/man/man1|" \
19 Makefile.in
20 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/man/man1
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make -j 1 &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }